atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating.basic.contains / addAssertionForAssert

addAssertionForAssert

fun <T : Any, B> <ERROR CLASS><T, out <ERROR CLASS>, out <ERROR CLASS>, B>.addAssertionForAssert(assertion: <ERROR CLASS>): <ERROR CLASS><T> (source)
fun <E, T : Iterable<E>, S> <ERROR CLASS><E, T, S>.addAssertionForAssert(assertion: <ERROR CLASS>): <ERROR CLASS><T> (source)

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.