Class DefaultConstructorArgumentsVerification<T>
- java.lang.Object
-
- org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerification<T>
-
- All Implemented Interfaces:
ConstructorArgumentsVerification
public class DefaultConstructorArgumentsVerification<T> extends java.lang.Object implements ConstructorArgumentsVerification
-
-
Field Summary
Fields Modifier and Type Field Description private MockitoNewInvocationControl<T>
invocationControl
private java.lang.Class<?>
type
-
Constructor Summary
Constructors Constructor Description DefaultConstructorArgumentsVerification(NewInvocationControl<T> invocationControl, java.lang.Class<?> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
invokeSubstitute(java.lang.Object... arguments)
void
withArguments(java.lang.Object argument, java.lang.Object... arguments)
void
withNoArguments()
-
-
-
Field Detail
-
invocationControl
private final MockitoNewInvocationControl<T> invocationControl
-
type
private final java.lang.Class<?> type
-
-
Constructor Detail
-
DefaultConstructorArgumentsVerification
public DefaultConstructorArgumentsVerification(NewInvocationControl<T> invocationControl, java.lang.Class<?> type)
-
-
Method Detail
-
withArguments
public void withArguments(java.lang.Object argument, java.lang.Object... arguments) throws java.lang.Exception
- Specified by:
withArguments
in interfaceConstructorArgumentsVerification
- Throws:
java.lang.Exception
-
invokeSubstitute
private void invokeSubstitute(java.lang.Object... arguments) throws java.lang.Exception
- Throws:
java.lang.Exception
-
withNoArguments
public void withNoArguments() throws java.lang.Exception
- Specified by:
withNoArguments
in interfaceConstructorArgumentsVerification
- Throws:
java.lang.Exception
-
-