FailureDescriptionWithCreator

Parameter object which contains a failureDescription together with an assertionCreator-lambda where the subject is passed in contrast to usual assertionCreator-lambdas.

Use withFailureDescription("failure description") { ... } to create this representation where the first argument is the failure description.

Since

1.2.0

Properties

Link copied to clipboard

The assertionCreator-lambda responsible to create assertions.

Link copied to clipboard

Provides the failure description (in case the subject cannot be extracted).