doc / ch.tutteli.atrium / startsWith

startsWith

fun <T : CharSequence> IAssertionPlant<T>.startsWith(expected: CharSequence): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject starts with expected.

Exceptions

AssertionError - Might throw an AssertionError if the made assertion does not hold.

Return
This plant to support a fluent-style API.