Package com.mockobjects.dynamic
Class CallBag
java.lang.Object
com.mockobjects.dynamic.CallCollection
com.mockobjects.dynamic.CallBag
- All Implemented Interfaces:
Callable
,CallableAddable
,Verifiable
-
Constructor Details
-
CallBag
public CallBag()
-
-
Method Details
-
reset
public void reset()Description copied from interface:CallableAddable
Resets all expected calls and expected matches.- Specified by:
reset
in interfaceCallableAddable
-
call
-
getDescription
- Specified by:
getDescription
in interfaceCallable
-
matches
-
verify
public void verify()Description copied from interface:Verifiable
Throw an AssertionFailedException if any expectations have not been met.- Specified by:
verify
in interfaceVerifiable
-
addExpect
- Specified by:
addExpect
in interfaceCallableAddable
-
addMatch
- Specified by:
addMatch
in interfaceCallableAddable
-