listFixture

inline fun <T> PublicApi.Fixture.listFixture(qualifier: PublicApi.Qualifier? = null, size: Int? = null): List<T>

Creates a List of values for a given type.

Parameters

T

the type which is supposed to be created.

qualifier

a optional qualifier for a special flavour of a type.

size

the size of the List.

Throws

kotlin.IllegalStateException

if the no matching Generator was found for the given type.