mutableListFixture

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

Creates a MutableList 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.