public class ConstructorAwareExpectationSetup<T>
extends java.lang.Object
implements org.powermock.api.mockito.expectation.WithOrWithoutExpectedArguments<T>
| Constructor and Description |
|---|
ConstructorAwareExpectationSetup(java.lang.reflect.Constructor<T> ctor) |
| Modifier and Type | Method and Description |
|---|---|
org.mockito.stubbing.OngoingStubbing<T> |
withArguments(java.lang.Object firstArgument,
java.lang.Object... additionalArguments) |
org.mockito.stubbing.OngoingStubbing<T> |
withNoArguments() |
public ConstructorAwareExpectationSetup(java.lang.reflect.Constructor<T> ctor)
public org.mockito.stubbing.OngoingStubbing<T> withArguments(java.lang.Object firstArgument, java.lang.Object... additionalArguments) throws java.lang.Exception
withArguments in interface org.powermock.api.mockito.expectation.WithExpectedArguments<T>java.lang.Exception