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