public class MockitoNewInvocationControl<T> extends Object implements org.powermock.core.spi.NewInvocationControl<org.mockito.stubbing.OngoingStubbing<T>>
Constructor and Description |
---|
MockitoNewInvocationControl(org.powermock.core.spi.support.InvocationSubstitute<T> substitute) |
Modifier and Type | Method and Description |
---|---|
org.mockito.stubbing.OngoingStubbing<T> |
expectSubstitutionLogic(Object... arguments) |
org.powermock.core.spi.support.InvocationSubstitute<T> |
getSubstitute() |
Object |
invoke(Class<?> type,
Object[] args,
Class<?>[] sig) |
Object |
replay(Object... mocks) |
Object |
reset(Object... mocks) |
Object |
verify(Object... mocks) |
void |
verifyNoMoreInteractions() |
public MockitoNewInvocationControl(org.powermock.core.spi.support.InvocationSubstitute<T> substitute)
public org.mockito.stubbing.OngoingStubbing<T> expectSubstitutionLogic(Object... arguments) throws Exception
public org.powermock.core.spi.support.InvocationSubstitute<T> getSubstitute()
public Object replay(Object... mocks)
replay
in interface org.powermock.core.spi.DefaultBehavior
public Object verify(Object... mocks)
verify
in interface org.powermock.core.spi.DefaultBehavior
public Object reset(Object... mocks)
reset
in interface org.powermock.core.spi.DefaultBehavior
public void verifyNoMoreInteractions()
Copyright © 2007–2015. All rights reserved.