interface CheckerFactory
Defines the minimum set of IterableContains.Checkers an implementation of the domain of Atrium has to provide.
abstract fun newAtLeastChecker(times: Int, nameContainsNotFun: String, atLeastCall: (Int) -> String): IterableContains.Checker
Creates an IterableContains.Checker which verifies that an expected entry is contained at least times in the Iterable. |
|
abstract fun newAtMostChecker(times: Int, nameContainsNotFun: String, atMostCall: (Int) -> String): IterableContains.Checker
Creates an IterableContains.Checker which verifies that an expected entry is contained at most times in the Iterable. |
|
abstract fun newExactlyChecker(times: Int, nameContainsNotFun: String, exactlyCall: (Int) -> String): IterableContains.Checker
Creates a IterableContains.Checker which verifies that an expected entry is contained exactly times in the Iterable. |
|
abstract fun newNotChecker(): IterableContains.Checker
Creates a IterableContains.Checker which verifies that an expected entry is not contained in the Iterable. |