setFixture

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

Creates a Set of values for given types.

Parameters

T

the type which is supposed to be created for the value.

qualifier

a optional qualifier for a special flavour of a type of the value.

size

the size of the Set.

Throws

kotlin.IllegalStateException

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