interface ListGetNullableOption<E, T : List<E>>
Represents the extension point for another option 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 index: Int
The given index which will be used to perform the List.get. |
|
abstract val plant: Assert<T>
The AssertionPlant for which this assertion is created |
abstract infix fun assertIt(assertionCreator: AssertionPlantNullable<E>.() -> Unit): Assert<T>
Makes the assertion that the given index is within the bounds of Assert.subject and that the corresponding nullable entry holds all assertions the given assertionCreator might create for it. |
fun <E, T : List<E>> create(plant: Assert<T>, index: Int): ListGetNullableOption<E, T> |