collection Fixture
inline fun <T> PublicApi.Fixture.collectionFixture(qualifier: PublicApi.Qualifier? = null, size: Int? = null): MutableCollection<T>
Content copied to clipboard
Creates an Collection 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 Collection.
Throws
kotlin.IllegalStateException
if the no matching Generator was found for the given type.