|
||||||||||
| 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(Object... arguments)
Expect a call to the new instance substitution logic. |
InvocationSubstitute<T> |
getSubstitute()
|
Object |
invoke(Class<?> type,
Object[] args,
Class<?>[] sig)
Invoke the invocation control |
Object |
replay(Object... mocks)
Replay the given objects or classes. |
Object |
reset(Object... mocks)
Reset the given objects or classes. |
Object |
verify(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 Object invoke(Class<?> type,
Object[] args,
Class<?>[] sig)
throws Exception
NewInvocationControl
invoke in interface NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>Exception
public org.mockito.stubbing.OngoingStubbing<T> expectSubstitutionLogic(Object... arguments)
throws Exception
NewInvocationControl
expectSubstitutionLogic in interface NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>Exceptionpublic InvocationSubstitute<T> getSubstitute()
public Object replay(Object... mocks)
replay in interface DefaultBehaviornull).public Object verify(Object... mocks)
verify in interface DefaultBehaviornull).public Object reset(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 | |||||||||