public interface CallAssertions
Modifier and Type | Method and Description |
---|---|
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) |
CallData assertException(String methodName, Throwable throwable, Object... parameters)
CallData assertException(String methodName, Throwable throwable, Class<?>... parameterTypes)
CallData assertException(String methodName, Class<?> throwableType, Object... parameters)
Copyright © 2000-2014. All Rights Reserved.