interface ListGetStep<E, T : List<E>> (source)
Represents the extension point for another step after a get index-step within a
sophisticated get assertion building process for List.
E - The element type of the List.
T - A subtype of List.
abstract val expect: Expect<T>
The Expect for which this assertion is created |
|
abstract val index: Int
The given index which will be used to perform the List.get. |
abstract infix fun assertIt(assertionCreator: Expect<E>.() -> Unit): Expect<T>
Makes the assertion that the given index is within the bounds of Expect.subject and that the corresponding entry holds all assertions the given assertionCreator might create for it. |
fun <E, T : List<E>> create(expect: Expect<T>, index: Int): ListGetStep<E, T> |