Class DefaultConstructorExpectationSetup<T>
java.lang.Object
org.powermock.api.mockito.expectation.DefaultConstructorExpectationSetup<T>
- All Implemented Interfaces:
ConstructorExpectationSetup<T>, WithAnyArguments<T>, WithExpectedArguments<T>, WithExpectedParameterTypes<T>, WithOrWithoutExpectedArguments<T>, WithoutExpectedArguments<T>
public class DefaultConstructorExpectationSetup<T>
extends Object
implements ConstructorExpectationSetup<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.mockito.stubbing.OngoingStubbing<T> org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument, Object... additionalArguments) org.mockito.stubbing.OngoingStubbing<T> withParameterTypes(Class<?> parameterType, Class<?>... additionalParameterTypes)
-
Constructor Details
-
DefaultConstructorExpectationSetup
-
-
Method Details
-
withArguments
public org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument, Object... additionalArguments) throws Exception - Specified by:
withArgumentsin interfaceWithExpectedArguments<T>- Throws:
Exception
-
withAnyArguments
- Specified by:
withAnyArgumentsin interfaceWithAnyArguments<T>- Throws:
Exception
-
withNoArguments
- Specified by:
withNoArgumentsin interfaceWithoutExpectedArguments<T>- Throws:
Exception
-
withParameterTypes
public WithExpectedArguments<T> withParameterTypes(Class<?> parameterType, Class<?>... additionalParameterTypes) - Specified by:
withParameterTypesin interfaceWithExpectedParameterTypes<T>
-