class IterableContainsInOrderOnlyObjectsAssertionCreator<E, T : Iterable<E?>> : IterableContainsInOrderOnlyAssertionCreator<E, T, E>
(source)Represents a creator of a sophisticated contains
assertions for Iterable where exactly the expected entries
have to appear in the specified order and where an entry is identified by an expected object (equality comparison).
T
- The type of the AssertionPlant.subject for which the contains
assertion is be build.
IterableContainsInOrderOnlyObjectsAssertionCreator(searchBehaviour: IterableContainsInOrderOnlySearchBehaviour)
Represents a creator of a sophisticated |
fun createEntryAssertion(iterableAsList: List<E?>, searchCriterion: E, template: ((Boolean) -> Assertion) -> AssertionGroup): AssertionGroup |
|
fun matches(actual: E?, searchCriterion: E): Boolean |
fun createAssertionGroup(plant: AssertionPlant<T>, searchCriterion: SC, otherSearchCriteria: Array<out SC>): AssertionGroup fun createAssertionGroup(subjectProvider: SubjectProvider<T>, searchCriteria: List<SC>): AssertionGroup |