mutable Map Fixture
inline fun <Key, Value> PublicApi.Fixture.mutableMapFixture(keyQualifier: PublicApi.Qualifier? = null, valueQualifier: PublicApi.Qualifier? = null, size: Int? = null): Map<Key, Value>
Content copied to clipboard
Creates a MutableMap 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.