org.jmock.expectation
Class ReturnObjectMap
java.lang.Object
org.jmock.expectation.MockObject
org.jmock.expectation.ReturnObjectMap
- All Implemented Interfaces:
- Verifiable
public class ReturnObjectMap
- extends MockObject
- Version:
- $Revision: 1.5 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReturnObjectMap
public ReturnObjectMap(String name)
getValue
public Object getValue(Object key)
getValue
public Object getValue(short key)
putReturnValue
public void putReturnValue(Object key,
Object value)
putReturnValue
public void putReturnValue(Object key,
int value)
putReturnValue
public void putReturnValue(short key,
Object value)
putReturnValue
public void putReturnValue(Object key,
boolean value)
getIntValue
public int getIntValue(Object key)
getBooleanValue
public boolean getBooleanValue(String key)
verify
public void verify()
- Description copied from interface:
Verifiable
- Throw an AssertionFailedException if any expectations have not been met.
- Specified by:
verify
in interface Verifiable
- Overrides:
verify
in class MockObject