Searched refs:CompoundAssertion (Results 1 – 3 of 3) sorted by relevance
20 class CompoundAssertion<T>(assertion: (T) -> Unit, name: String, optional: Boolean) : Assertion<T> { in <lambda>() class73 if (other !is CompoundAssertion<*>) { in <lambda>()
32 private val assertions = mutableListOf<CompoundAssertion<T>>() in <lambda>()39 assertions.add(CompoundAssertion(assertion, name, isOptional)) in <lambda>()
50 val assertion = CompoundAssertion<String>({ count++ }, NAME, optional = false) in executes()82 CompoundAssertion<String>({}, NAME, optional) in assertion1()