doc / ch.tutteli.atrium.domain.creating.any.typetransformation.failurehandlers / FailureHandlerFactory / newExplanatory

newExplanatory

abstract fun <S : Any, T : Any> newExplanatory(): AnyTypeTransformation.FailureHandler<S, T> (source)

Creates a AnyTypeTransformation.FailureHandler which wraps subsequent assertions into an AssertionGroup with an ExplanatoryAssertionGroupType so that the user of Atrium can see in reporting what one wanted to assert additionally.