doc / ch.tutteli.atrium.domain.builders.creating / AnyTypeTransformationAssertionsBuilder / downCast

downCast

inline fun <T : Any, TSub : T> downCast(description: Translatable, subType: KClass<TSub>, subjectPlant: BaseAssertionPlant<T?, *>, noinline assertionCreator: AssertionPlant<TSub>.() -> Unit, failureHandler: FailureHandler<T, TSub>): <ERROR CLASS> (source)

Overrides AnyTypeTransformationAssertions.downCast