|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.powermock.api.mockito.internal.invocationcontrol.MockitoNewInvocationControl<T>
public class MockitoNewInvocationControl<T>
| Constructor Summary | |
|---|---|
MockitoNewInvocationControl(InvocationSubstitute<T> substitute)
|
|
| Method Summary | |
|---|---|
org.mockito.stubbing.OngoingStubbing<T> |
expectSubstitutionLogic(java.lang.Object... arguments)
Expect a call to the new instance substitution logic. |
InvocationSubstitute<T> |
getSubstitute()
|
java.lang.Object |
invoke(java.lang.Class<?> type,
java.lang.Object[] args,
java.lang.Class<?>[] sig)
Invoke the invocation control |
java.lang.Object |
replay(java.lang.Object... mocks)
Replay the given objects or classes. |
java.lang.Object |
reset(java.lang.Object... mocks)
Reset the given objects or classes. |
java.lang.Object |
verify(java.lang.Object... mocks)
Verify the given objects or classes. |
void |
verifyNoMoreInteractions()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockitoNewInvocationControl(InvocationSubstitute<T> substitute)
| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Class<?> type,
java.lang.Object[] args,
java.lang.Class<?>[] sig)
throws java.lang.Exception
NewInvocationControl
invoke in interface NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>java.lang.Exception
public org.mockito.stubbing.OngoingStubbing<T> expectSubstitutionLogic(java.lang.Object... arguments)
throws java.lang.Exception
NewInvocationControl
expectSubstitutionLogic in interface NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>java.lang.Exceptionpublic InvocationSubstitute<T> getSubstitute()
public java.lang.Object replay(java.lang.Object... mocks)
replay in interface DefaultBehaviornull).public java.lang.Object verify(java.lang.Object... mocks)
verify in interface DefaultBehaviornull).public java.lang.Object reset(java.lang.Object... mocks)
reset in interface DefaultBehaviornull).public void verifyNoMoreInteractions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||