public class DefaultConstructorExpectationSetup<T> extends java.lang.Object implements ConstructorExpectationSetup<T>
Constructor and Description |
---|
DefaultConstructorExpectationSetup(java.lang.Class<T> mockType) |
Modifier and Type | Method and Description |
---|---|
org.mockito.stubbing.OngoingStubbing<T> |
withAnyArguments() |
org.mockito.stubbing.OngoingStubbing<T> |
withArguments(java.lang.Object firstArgument,
java.lang.Object... additionalArguments) |
org.mockito.stubbing.OngoingStubbing<T> |
withNoArguments() |
WithExpectedArguments<T> |
withParameterTypes(java.lang.Class<?> parameterType,
java.lang.Class<?>... additionalParameterTypes) |
public DefaultConstructorExpectationSetup(java.lang.Class<T> mockType)
public org.mockito.stubbing.OngoingStubbing<T> withArguments(java.lang.Object firstArgument, java.lang.Object... additionalArguments) throws java.lang.Exception
withArguments
in interface WithExpectedArguments<T>
java.lang.Exception
public org.mockito.stubbing.OngoingStubbing<T> withAnyArguments() throws java.lang.Exception
withAnyArguments
in interface WithAnyArguments<T>
java.lang.Exception
public org.mockito.stubbing.OngoingStubbing<T> withNoArguments() throws java.lang.Exception
withNoArguments
in interface WithoutExpectedArguments<T>
java.lang.Exception
public WithExpectedArguments<T> withParameterTypes(java.lang.Class<?> parameterType, java.lang.Class<?>... additionalParameterTypes)
withParameterTypes
in interface WithExpectedParameterTypes<T>