org.powermock.api.mockito.internal.expectation
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMethodExpectationSetup
public DefaultMethodExpectationSetup(Object object,
Method method)
withArguments
public org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument,
Object... additionalArguments)
throws Exception
- Specified by:
withArguments
in interface WithExpectedArguments<T>
- Throws:
Exception
withNoArguments
public org.mockito.stubbing.OngoingStubbing<T> withNoArguments()
throws Exception
- Specified by:
withNoArguments
in interface WithoutExpectedArguments<T>
- Throws:
Exception
Copyright © 2007-2010. All Rights Reserved.