Class ConstructorAwareExpectationSetup<T>
java.lang.Object
org.powermock.api.mockito.internal.expectation.ConstructorAwareExpectationSetup<T>
- All Implemented Interfaces:
WithExpectedArguments<T>
,WithOrWithoutExpectedArguments<T>
,WithoutExpectedArguments<T>
public class ConstructorAwareExpectationSetup<T>
extends Object
implements WithOrWithoutExpectedArguments<T>
-
Field Summary
Fields -
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
-
-
Constructor Details
-
ConstructorAwareExpectationSetup
-
-
Method Details
-
withArguments
public org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument, Object... additionalArguments) throws Exception - Specified by:
withArguments
in interfaceWithExpectedArguments<T>
- Throws:
Exception
-
withNoArguments
- Specified by:
withNoArguments
in interfaceWithoutExpectedArguments<T>
- Throws:
Exception
-
setupExpectation
-