abstract class IterableContainsInOrderOnlyAssertionCreator<E, T : Iterable<E>, S> : ICreator<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 IAssertionPlant.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: IAssertionPlant<T>, searchCriterion: S, otherSearchCriteria: Array<out S>): IAssertionGroup
Creates an IAssertionGroup representing the sophisticated |
|
abstract fun createEntryAssertion(iterableAsList: List<E>, searchCriterion: S, template: ((Boolean) -> IAssertion) -> IAssertionGroup): IAssertionGroup |
|
abstract fun matches(actual: E, searchCriterion: S): Boolean |
class IterableContainsInOrderOnlyEntriesAssertionCreator<E : Any, T : Iterable<E>> : IterableContainsInOrderOnlyAssertionCreator<E, T, IAssertionPlant<E>.() -> Unit>
Represents a creator of a sophisticated |
|
class IterableContainsInOrderOnlyObjectsAssertionCreator<E, T : Iterable<E>> : IterableContainsInOrderOnlyAssertionCreator<E, T, E>
Represents a creator of a sophisticated |