org.powermock.api.mockito.internal.verification
Class DefaultConstructorArgumentsVerfication<T>

java.lang.Object
  extended by org.powermock.api.mockito.internal.verification.DefaultConstructorArgumentsVerfication<T>
All Implemented Interfaces:
ConstructorArgumentsVerification

public class DefaultConstructorArgumentsVerfication<T>
extends Object
implements ConstructorArgumentsVerification


Constructor Summary
DefaultConstructorArgumentsVerfication(NewInvocationControl<T> invocationControl, Class<?> type)
           
 
Method Summary
 void withArguments(Object argument, Object... arguments)
           
 void withNoArguments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConstructorArgumentsVerfication

public DefaultConstructorArgumentsVerfication(NewInvocationControl<T> invocationControl,
                                              Class<?> type)
Method Detail

withArguments

public void withArguments(Object argument,
                          Object... arguments)
                   throws Exception
Specified by:
withArguments in interface ConstructorArgumentsVerification
Throws:
Exception

withNoArguments

public void withNoArguments()
                     throws Exception
Specified by:
withNoArguments in interface ConstructorArgumentsVerification
Throws:
Exception


Copyright © 2007-2011. All Rights Reserved.