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

Package ch.tutteli.atrium.domain.builders.creating.basic.contains

Functions

addAssertion

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

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

addAssertionForAssert

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

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