public class ConstructorAwareExpectationSetup<T> extends Object implements WithOrWithoutExpectedArguments<T>
Constructor and Description |
---|
ConstructorAwareExpectationSetup(Constructor<T> ctor) |
Modifier and Type | Method and Description |
---|---|
org.mockito.stubbing.OngoingStubbing<T> |
withArguments(Object firstArgument,
Object... additionalArguments) |
org.mockito.stubbing.OngoingStubbing<T> |
withNoArguments() |
public ConstructorAwareExpectationSetup(Constructor<T> ctor)
public org.mockito.stubbing.OngoingStubbing<T> withArguments(Object firstArgument, Object... additionalArguments) throws Exception
withArguments
in interface WithExpectedArguments<T>
Exception
public org.mockito.stubbing.OngoingStubbing<T> withNoArguments() throws Exception
withNoArguments
in interface WithoutExpectedArguments<T>
Exception
Copyright © 2007–2015. All rights reserved.