fail

public static T fail<T>(Context context, PreCommentSupplier<? super ResultOfFail> preCommentSupplier)(source)

Fails.

Return

nothing

Parameters

context

the context of the fail

preCommentSupplier

the supplier of the pre-comment

<T>

the return type (for convenience reasons)


public static T fail<T>(Throwable cause, Context context, PreCommentSupplier<? super ResultOfFail> preCommentSupplier)(source)

Fails.

Return

nothing

Parameters

cause

the cause of the fail

context

the context of the fail

preCommentSupplier

the supplier of the pre-comment

<T>

the return type (for convenience reasons)


public static T fail<T>(Expected expected, Actual actual, Context context, PreCommentSupplier<? super ResultOfFail> preCommentSupplier)(source)