abstract class ContainsAssertionCreator<T : Any, S, C : Checker> : Creator<T, S>
(source)Represents the base class for Contains.Creators, providing a template to fulfill its job.
T
- The type of the AssertionPlant.subject.
S
- The type of the search criteria.
C
- The type of the checkers in use (typically a sub interface of Contains.Checker).
ContainsAssertionCreator(checkers: List<C>)
Represents the base class for Contains.Creators, providing a template to fulfill its job. |
fun createAssertionGroup(plant: AssertionPlant<T>, searchCriteria: List<S>): AssertionGroup
Creates an AssertionGroup representing the sophisticated fun createAssertionGroup(plant: AssertionPlant<T>, searchCriterion: S, otherSearchCriteria: Array<out S>): AssertionGroup |
|
abstract fun createAssertionGroupForSearchCriteriaAssertions(assertions: List<Assertion>): AssertionGroup
Creates an AssertionGroup representing the sophisticated |
|
abstract fun searchAndCreateAssertion(plant: AssertionPlant<T>, searchCriterion: S, featureFactory: (numberOfOccurrences: Int, description: Translatable) -> AssertionGroup): AssertionGroup
Searches for something fulfilling the given searchCriterion in the given plant's subject and should pass on the number of occurrences to the given featureFactory which creates feature assertions based on the checkers, which in turn can be used to create a resulting AssertionGroup representing the assertion for a search criteria as a whole. |
abstract class
Represents the base class for Contains.Creators which use bare objects as search criteria (matching them
with |
|
open class
Represents a creator of a sophisticated |