call

public static void call(Callable callable, Context context, PreCommentSupplier<? super ResultOfCall> preCommentSupplier)(source)

Asserts that the given callable does not throw an exception.

Parameters

callable

the callable to call

context

the context of the test

preCommentSupplier

the supplier of the pre-comment


public static void call(Callable callable)(source)

Asserts that the given callable does not throw an exception.

Parameters

callable

the callable to call


public static void call(MethodLink methodLink, Object instance, Context context, PreCommentSupplier<? super ResultOfCall> preCommentSupplier, Array<Object> args)(source)

Asserts that the given callable does not throw an exception.

Parameters

methodLink

the method to call

instance

the instance to call the method on

context

the context of the test

preCommentSupplier

the supplier of the pre-comment

args

the arguments to pass to the method