org.kuali.student.common.test.mock
Class MockArgumentMapper

java.lang.Object
  extended by org.kuali.student.common.test.mock.MockArgumentMapper

Deprecated.

@Deprecated
public class MockArgumentMapper
extends Object

Use this mapper to set method return for mock proxy to return values you based on predefined arguments. NOTE: Currently only supports single argument methods.


Constructor Summary
MockArgumentMapper()
          Deprecated.  
 
Method Summary
 Map<Object,Object> getArgumentMapper()
          Deprecated.  
 Object getReturnValue(Object[] arguments)
          Deprecated. This method returns the return value for the specified arguments
 void setArgumentMapper(Map<Object,Object> argumentMapper)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockArgumentMapper

public MockArgumentMapper()
Deprecated. 
Method Detail

getReturnValue

public Object getReturnValue(Object[] arguments)
Deprecated. 
This method returns the return value for the specified arguments

Parameters:
arguments -
Returns:
return value for arguments.

getArgumentMapper

public Map<Object,Object> getArgumentMapper()
Deprecated. 
Returns:
the methodReturnMap

setArgumentMapper

public void setArgumentMapper(Map<Object,Object> argumentMapper)
Deprecated. 
Parameters:
methodReturnMap - the methodReturnMap to set


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.