assertTrue
Asserts that the given block returns true.
Since Kotlin
1.0Asserts that the expression is true with an optional message.
Since Kotlin
1.0Asserts that the actual expression is true with an error message generated by the lazyMessage lambda otherwise.