doc / ch.tutteli.atrium / startsWith

startsWith

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

Makes the assertion that IAssertionPlant.subject starts with expected.

Exceptions

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

Return
This plant to support a fluent-style API.