public class DefaultConstructorExpectationSetup<T> extends Object implements ConstructorExpectationSetup<T>
| Constructor and Description |
|---|
DefaultConstructorExpectationSetup(Class<T> mockType) |
| Modifier and Type | Method and Description |
|---|---|
org.mockito.stubbing.OngoingStubbing<T> |
withAnyArguments() |
org.mockito.stubbing.OngoingStubbing<T> |
withArguments(Object firstArgument,
Object... additionalArguments) |
org.mockito.stubbing.OngoingStubbing<T> |
withNoArguments() |
WithExpectedArguments<T> |
withParameterTypes(Class<?> parameterType,
Class<?>... additionalParameterTypes) |
public org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument, Object... additionalArguments) throws Exception
withArguments in interface WithExpectedArguments<T>Exceptionpublic org.mockito.stubbing.OngoingStubbing<T> withAnyArguments() throws Exception
withAnyArguments in interface WithAnyArguments<T>Exceptionpublic org.mockito.stubbing.OngoingStubbing<T> withNoArguments() throws Exception
withNoArguments in interface WithoutExpectedArguments<T>Exceptionpublic WithExpectedArguments<T> withParameterTypes(Class<?> parameterType, Class<?>... additionalParameterTypes)
withParameterTypes in interface WithExpectedParameterTypes<T>Copyright © 2007–2016. All rights reserved.