arrayFixture

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

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

Throws

kotlin.IllegalStateException

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