infix fun <E, T : List<E>> Expect<T>.get(index: Int): Expect<E> (source)
Expects that the given index is within the bounds of the subject of the assertion (a List) and returns an Expect for the element at that position.
AssertionError - if the given index is out of bound.
Return
The newly created Expect for the element at position index.
infix fun <E, T : List<E>> Expect<T>.get(index: Index): ListGetStep<E, T> (source)
Prepares the assertion about the return value of calling get with the given index.
Return
A fluent builder to finish the assertion.