public class DefaultConstructorArgumentsVerfication<T> extends java.lang.Object implements ConstructorArgumentsVerification
Modifier and Type | Field and Description |
---|---|
private MockitoNewInvocationControl<T> |
invocationControl |
private java.lang.Class<?> |
type |
Constructor and Description |
---|
DefaultConstructorArgumentsVerfication(NewInvocationControl<T> invocationControl,
java.lang.Class<?> type) |
Modifier and Type | Method and Description |
---|---|
private void |
invokeSubstitute(java.lang.Object... arguments) |
void |
withArguments(java.lang.Object argument,
java.lang.Object... arguments) |
void |
withNoArguments() |
private final MockitoNewInvocationControl<T> invocationControl
private final java.lang.Class<?> type
public DefaultConstructorArgumentsVerfication(NewInvocationControl<T> invocationControl, java.lang.Class<?> type)
public void withArguments(java.lang.Object argument, java.lang.Object... arguments) throws java.lang.Exception
withArguments
in interface ConstructorArgumentsVerification
java.lang.Exception
private void invokeSubstitute(java.lang.Object... arguments) throws java.lang.Exception
java.lang.Exception
public void withNoArguments() throws java.lang.Exception
withNoArguments
in interface ConstructorArgumentsVerification
java.lang.Exception