fun createAssertionGroup(container: AssertionContainer<T>, searchCriteria: List<SC>): AssertionGroup
Overrides Creator.createAssertionGroup
Creates an AssertionGroup representing the sophisticated contains
assertion for the
subject of the given container, 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.
container
- The AssertionContainer from which this building process started.
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.