ContainsAssertionCreator
abstract class ContainsAssertionCreator<T : Any, TT : Any, in SC, C : Contains.Checker>(searchBehaviour: Contains.SearchBehaviour, checkers: List<C>) : Contains.Creator<T, SC> (source)
Represents the base class for Contains.Creators, providing a template to fulfill its job.
Parameters
T
The type of the subject of this expectation.
TT
The type of the subject of this expectation after making it multiple times consumable.
SC
The type of the search criteria.
C
The type of the checkers in use (typically a sub interface of Contains.Checker).
checkers
The Contains.Checkers which shall be applied to the search result.
Inheritors
Constructors
Link copied to clipboard
Represents the base class for Contains.Creators, providing a template to fulfill its job.
Functions
Link copied to clipboard
override fun createAssertionGroup(container: AssertionContainer<T>, searchCriteria: List<SC>): AssertionGroup
Creates an AssertionGroup representing the sophisticated contains
assertion for the subject of the given container, based on the given searchCriteria.