doc / ch.tutteli.atrium.domain.builders.creating.basic.contains / addAssertionForAssert

addAssertionForAssert

fun <T : Any, B : Contains.Builder<T, *>> Contains.CheckerOption<T, *, *, B>.addAssertionForAssert(assertion: Assertion): Assert<T>
fun <E, T : Iterable<E>, S : IterableContains.SearchBehaviour> IterableContains.Builder<E, T, S>.addAssertionForAssert(assertion: Assertion): Assert<T>

Helper method which simplifies adding assertions to the assertion container which itself is stored in Contains.CheckerOption.containsBuilder.

Return
The plant to support a fluent API.