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>
Deprecated: Will be removed with 1.0.0


fun <E, T : Iterable<E>, S : IterableContains.SearchBehaviour> IterableContains.Builder<E, T, S>.addAssertionForAssert(assertion: Assertion): Assert<T>
Deprecated: Will be removed with 1.0.0

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.