|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.common.test.mock.MockArgumentMapper
@Deprecated public class MockArgumentMapper
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 |
|---|
public MockArgumentMapper()
| Method Detail |
|---|
public Object getReturnValue(Object[] arguments)
arguments -
public Map<Object,Object> getArgumentMapper()
public void setArgumentMapper(Map<Object,Object> argumentMapper)
methodReturnMap - the methodReturnMap to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||