doc / ch.tutteli.atrium.api.infix.en_GB.creating.list / IndexWithCreator / <init>

<init>

IndexWithCreator(index: Int, assertionCreator: Expect<E>.() -> Unit)

Parameter object which combines an index of type Int with an assertionCreator which defines assertions for a resulting feature of type E.

Use the function index(Int) { ... } to create this representation.

Since
0.10.0