doc / ch.tutteli.atrium.domain.creating.charsequence.contains / addAssertion

addAssertion

fun <T : CharSequence, S : SearchBehaviour> CheckerOption<T, S>.addAssertion(assertion: Assertion): AssertionPlant<T> (source)

Helper method to simplify adding assertions to the plant which itself is stored in CharSequenceContains.CheckerOption.containsBuilder.

Return
The plant to support a fluent API.