org.powermock.api.mockito.internal.invocation
Class MockitoNewInvocationControl<T>
java.lang.Object
org.powermock.api.mockito.internal.invocation.MockitoNewInvocationControl<T>
- All Implemented Interfaces:
- DefaultBehavior, NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>
public class MockitoNewInvocationControl<T>
- extends Object
- implements NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockitoNewInvocationControl
public MockitoNewInvocationControl(InvocationSubstitute<T> substitute)
invoke
public Object invoke(Class<?> type,
Object[] args,
Class<?>[] sig)
throws Exception
- Specified by:
invoke
in interface NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>
- Throws:
Exception
expectSubstitutionLogic
public org.mockito.stubbing.OngoingStubbing<T> expectSubstitutionLogic(Object... arguments)
throws Exception
- Specified by:
expectSubstitutionLogic
in interface NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>
- Throws:
Exception
getSubstitute
public InvocationSubstitute<T> getSubstitute()
replay
public Object replay(Object... mocks)
-
- Specified by:
replay
in interface DefaultBehavior
verify
public Object verify(Object... mocks)
-
- Specified by:
verify
in interface DefaultBehavior
reset
public Object reset(Object... mocks)
-
- Specified by:
reset
in interface DefaultBehavior
verifyNoMoreInteractions
public void verifyNoMoreInteractions()
Copyright © 2007-2014. All Rights Reserved.