|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockito.internal.configuration.DefaultReturnValues
public class DefaultReturnValues
Used by default by every Mockito mock.
| Constructor Summary | |
|---|---|
DefaultReturnValues()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
valueFor(InvocationOnMock invocation)
returns value for an unstubbed invocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultReturnValues()
| Method Detail |
|---|
public java.lang.Object valueFor(InvocationOnMock invocation)
ReturnValues
See examples in javadoc for ConfigurationSupport
valueFor in interface ReturnValuesinvocation - placeholder for mock and a method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||