doc / ch.tutteli.atrium.api.cc.en_UK / isTrue

isTrue

fun Assert<Boolean>.isTrue(): AssertionPlant<Boolean>
Deprecated: Will be removed with 1.0.0 because it is redundant with `toBe(true)` without adding enough to be a legit alternative.

Makes the assertion that the Assert.subject is true.

Delegates to toBe with argument true.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
This plant to support a fluent API.