Class DefaultMethodExpectationSetup<T>
- java.lang.Object
-
- org.powermock.api.mockito.internal.expectation.DefaultMethodExpectationSetup<T>
-
- All Implemented Interfaces:
WithExpectedArguments<T>
,WithOrWithoutExpectedArguments<T>
,WithoutExpectedArguments<T>
public class DefaultMethodExpectationSetup<T> extends Object implements WithOrWithoutExpectedArguments<T>
-
-
Constructor Summary
Constructors Constructor Description DefaultMethodExpectationSetup(Object object, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.mockito.stubbing.OngoingStubbing<T>
withArguments(Object firstArgument, Object... additionalArguments)
org.mockito.stubbing.OngoingStubbing<T>
withNoArguments()
-
-
-
Method Detail
-
withArguments
public org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument, Object... additionalArguments) throws Exception
- Specified by:
withArguments
in interfaceWithExpectedArguments<T>
- Throws:
Exception
-
withNoArguments
public org.mockito.stubbing.OngoingStubbing<T> withNoArguments() throws Exception
- Specified by:
withNoArguments
in interfaceWithoutExpectedArguments<T>
- Throws:
Exception
-
-