Class ConstructorAwareExpectationSetup<T>
java.lang.Object
org.powermock.api.mockito.expectation.ConstructorAwareExpectationSetup<T>
- All Implemented Interfaces:
WithExpectedArguments<T>, WithOrWithoutExpectedArguments<T>, WithoutExpectedArguments<T>
public class ConstructorAwareExpectationSetup<T>
extends Object
implements WithOrWithoutExpectedArguments<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Constructor<T> private final DefaultConstructorExpectationSetup<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate DefaultConstructorExpectationSetup<T> org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument, Object... additionalArguments) org.mockito.stubbing.OngoingStubbing<T>
-
Field Details
-
ctor
-
expectationSetup
-
-
Constructor Details
-
ConstructorAwareExpectationSetup
-
-
Method Details
-
withArguments
public org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument, Object... additionalArguments) throws Exception - Specified by:
withArgumentsin interfaceWithExpectedArguments<T>- Throws:
Exception
-
withNoArguments
- Specified by:
withNoArgumentsin interfaceWithoutExpectedArguments<T>- Throws:
Exception
-
setupExpectation
-