mapFixture

inline fun <Key, Value> PublicApi.Fixture.mapFixture(keyQualifier: PublicApi.Qualifier? = null, valueQualifier: PublicApi.Qualifier? = null, size: Int? = null): Map<Key, Value>

Creates a Map of values for given types.

Parameters

Key

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

Value

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

keyQualifier

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

valueQualifier

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

size

the size of the Map.

Throws

kotlin.IllegalStateException

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