check

public RT check(Context context, PreCommentSupplier<? super RT> preCommentSupplier)(source)

If this result is not successful, this method throws an AssertionFailedError informing about the failure.

Return

this result

Parameters

context

the context of the test

preCommentSupplier

the function for the pre-comment

Throws

AssertionFailedError

if not successful