net.grinder.testutility
Interface CallAssertions

All Known Implementing Classes:
AbstractStubFactory, CallData, CallRecorder, DelegatingStubFactory, RandomStubFactory

public interface CallAssertions


Method Summary
 CallData assertException(String methodName, Class<?> throwableType, Class<?>... parameterTypes)
           
 CallData assertException(String methodName, Class<?> throwableType, Object... parameters)
          Check the given method was called, and that it threw an exception of the given type.
 CallData assertException(String methodName, Throwable throwable, Class<?>... parameterTypes)
           
 CallData assertException(String methodName, Throwable throwable, Object... parameters)
          Check the given method was called, and that it threw the given exception.
 CallData assertSuccess(String methodName, Class<?>... parameterTypes)
           
 CallData assertSuccess(String methodName, Object... parameters)
           
 

Method Detail

assertSuccess

CallData assertSuccess(String methodName,
                       Object... parameters)

assertSuccess

CallData assertSuccess(String methodName,
                       Class<?>... parameterTypes)

assertException

CallData assertException(String methodName,
                         Throwable throwable,
                         Object... parameters)
Check the given method was called, and that it threw the given exception.


assertException

CallData assertException(String methodName,
                         Throwable throwable,
                         Class<?>... parameterTypes)

assertException

CallData assertException(String methodName,
                         Class<?> throwableType,
                         Object... parameters)
Check the given method was called, and that it threw an exception of the given type.


assertException

CallData assertException(String methodName,
                         Class<?> throwableType,
                         Class<?>... parameterTypes)


Copyright © 2000-2012. All Rights Reserved.