fun createAssertionGroup(plant: AssertionPlant<T>, searchCriteria: List<S>): AssertionGroup
(source)
Overrides Creator.createAssertionGroup
Creates an AssertionGroup representing the sophisticated contains
assertion for the given plant based
on the given searchCriteria.
The search process as such is usually influenced by a SearchBehaviour which defines the search behaviour
and Checkers are used to create Assertions based on a determined search result which are grouped
together into an AssertionGroup.
This resulting AssertionGroup represents the sophisticated contains
assertion as a whole.
plant
- The plant -- or rather its subject -- for which the AssertionGroup
is created.
searchCriteria
- The search criteria - typically not empty.
IllegalArgumentException
- Might throw an IllegalArgumentException in case searchCriteria is empty
and an empty value is not allowed.
Return
The newly created AssertionGroup.
fun createAssertionGroup(plant: AssertionPlant<T>, searchCriterion: S, otherSearchCriteria: Array<out S>): AssertionGroup
(source)