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 TypeMethodDescriptionboolean
getBooleanValue
(String key) int
getIntValue
(Object key) getValue
(short key) void
putReturnValue
(short key, Object value) void
putReturnValue
(Object key, boolean value) void
putReturnValue
(Object key, int value) void
putReturnValue
(Object key, Object value) void
verify()
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:Verifiable
Throw 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:
verify
in interfaceVerifiable
- Overrides:
verify
in classMockObject
-