abstract class IterableContainsInOrderOnlyAssertionCreator<E, T : Iterable<E?>, S> : Creator<T, S>
Represents the base class for in order only
assertion creators and provides a corresponding template to fulfill
its responsibility.
T
- The type of the AssertionPlant.subject for which the contains
assertion is be build.
S
- The type of the search criterion.
IterableContainsInOrderOnlyAssertionCreator(searchBehaviour: IterableContainsInOrderOnlySearchBehaviour)
Represents the base class for |
fun createAssertionGroup(plant: AssertionPlant<T>, searchCriterion: S, otherSearchCriteria: Array<out S>): AssertionGroup
Creates an AssertionGroup representing the sophisticated |
|
abstract fun createEntryAssertion(iterableAsList: List<E?>, searchCriterion: S, template: ((Boolean) -> Assertion) -> AssertionGroup): AssertionGroup |
|
abstract fun matches(actual: E?, searchCriterion: S): Boolean |
class IterableContainsInOrderOnlyEntriesAssertionCreator<E : Any, T : Iterable<E?>> : IterableContainsInOrderOnlyAssertionCreator<E, T, AssertionPlant<E>.() -> Unit>
Represents a creator of a sophisticated |
|
class IterableContainsInOrderOnlyObjectsAssertionCreator<E, T : Iterable<E?>> : IterableContainsInOrderOnlyAssertionCreator<E, T, E>
Represents a creator of a sophisticated |