|
||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
ArgumentsMatcher
s are only supported
for the legacy MockControl
. For mock objects generated by the methods
on EasyMock
, there are per-argument matchers available. For more
information, see the EasyMock documentation.AbstractMatcher.matches(Object[], Object[])
.
ArgumentsMatcher
s are only supported
for the legacy MockControl
. For mock objects generated by the methods
on EasyMock
, there are per-argument matchers available. For more
information, see the EasyMock documentation.AbstractMatcher.toString(Object[])
.
java.util.Arrays.equals()
-method.
capture()
matcher.0
,
null
or false
for unexpected invocations.
0
,
null
or false
for unexpected invocations.
0
,
null
or false
for unexpected invocations.
setDefaultReturnValue(Object)
.
setDefaultThrowable(Throwable)
.
setReturnValue(Object)
.
setReturnValue(Object, Range)
.
setReturnValue(Object, int)
.
setReturnValue(Object, int, int)
.
setThrowable(Throwable)
.
setThrowable(Throwable, Range)
.
setThrowable(Throwable, int)
.
setThrowable(Throwable, int, int)
.
IAnswer
callback - be careful here, reordering parameters of
method changes the semantics of your tests.
EasyMock.cmp(T, java.util.Comparator, org.easymock.LogicalOperator)
EasyMock
are
used to create and control mock objects.minCount
and maxCount
times, and will react
by returning the provided return value.
minCount
and maxCount
times, and will react
by throwing the provided Throwable.
minCount
and maxCount
times, and will react
by returning silently.
count
times.
min
and
max
times.
|
||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |