Package org.jmock.expectation
Class ReturnObjectMap
java.lang.Object
org.jmock.expectation.MockObject
org.jmock.expectation.ReturnObjectMap
- All Implemented Interfaces:
Verifiable
- Version:
- $Revision$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanValue(String key) intgetIntValue(Object key) getValue(short key) voidputReturnValue(short key, Object value) voidputReturnValue(Object key, boolean value) voidputReturnValue(Object key, int value) voidputReturnValue(Object key, Object value) voidverify()Throw an AssertionFailedException if any expectations have not been met.Methods inherited from class org.jmock.expectation.MockObject
assertEquals, assertEquals, assertTrue, fail, notImplemented, notYetImplemented, notYetImplemented
-
Constructor Details
-
ReturnObjectMap
-
-
Method Details
-
getValue
-
getValue
-
putReturnValue
-
putReturnValue
-
putReturnValue
-
putReturnValue
-
getIntValue
-
getBooleanValue
-
verify
public void verify()Description copied from interface:VerifiableThrow an AssertionFailedException if any expectations have not been met. Implementations of this method must be idempotent: jMock can call this method more than once when verifying expectations at the end of a test.- Specified by:
verifyin interfaceVerifiable- Overrides:
verifyin classMockObject
-