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

addAssertion

fun <E, T : Iterable<E>, S : SearchBehaviour> CheckerOption<E, 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.