doc / ch.tutteli.atrium.assertions.any.narrow / IAnyNarrow

IAnyNarrow

interface IAnyNarrow

Defines the contract for sophisticated narrowing assertion builders.

The assertion is typically created by the DownCaster which itself requires an IAbsentThrowableMessageProvider.

Types

IDownCastFailureHandler

interface IDownCastFailureHandler<T : Any, TSub : T>

A handler which decides how the lambda -- which could have created subsequent assertions for the down-casted IAssertionPlant.subject, in case the down-cast of the IAssertionPlant.subject to type TSub did not have fail -- should be used in reporting.