|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mockito.internal.stubbing.answers.DoesNothing
public class DoesNothing
Constructor Summary | |
---|---|
DoesNothing()
|
Method Summary | |
---|---|
java.lang.Object |
answer(InvocationOnMock invocation)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoesNothing()
Method Detail |
---|
public java.lang.Object answer(InvocationOnMock invocation) throws java.lang.Throwable
answer
in interface Answer<java.lang.Object>
invocation
- the invocation on the mock.
java.lang.Throwable
- the throwable to be thrown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |