org.powermock.api.mockito.internal.expectation
Class DefaultConstructorExpectationSetup<T>
java.lang.Object
org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup<T>
- All Implemented Interfaces:
- ConstructorExpectationSetup<T>, WithExpectedArguments<T>, WithExpectedParameterTypes<T>, WithOrWithoutExpectedArguments<T>, WithoutExpectedArguments<T>
public class DefaultConstructorExpectationSetup<T>
- extends java.lang.Object
- implements ConstructorExpectationSetup<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConstructorExpectationSetup
public DefaultConstructorExpectationSetup(java.lang.Class<T> mockType)
setParameterTypes
public void setParameterTypes(java.lang.Class<?>[] parameterTypes)
withArguments
public org.mockito.stubbing.OngoingStubbing<T> withArguments(java.lang.Object firstArgument,
java.lang.Object... additionalArguments)
throws java.lang.Exception
- Specified by:
withArguments in interface WithExpectedArguments<T>
- Throws:
java.lang.Exception
withNoArguments
public org.mockito.stubbing.OngoingStubbing<T> withNoArguments()
throws java.lang.Exception
- Specified by:
withNoArguments in interface WithoutExpectedArguments<T>
- Throws:
java.lang.Exception
withParameterTypes
public WithExpectedArguments<T> withParameterTypes(java.lang.Class<?> parameterType,
java.lang.Class<?>... additionalParameterTypes)
- Specified by:
withParameterTypes in interface WithExpectedParameterTypes<T>
Copyright © 2007-2012. All Rights Reserved.