doc / ch.tutteli.atrium / endsWith

endsWith

fun <T : CharSequence> IAssertionPlant<T>.endsWith(expected: CharSequence): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject ends with expected.

Exceptions

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

Return
This plant to support a fluent-style API.