pairFixture

inline fun <First, Second> PublicApi.Fixture.pairFixture(firstQualifier: PublicApi.Qualifier? = null, secondQualifier: PublicApi.Qualifier? = null): Pair<First, Second>

Creates a Pair of values for given types.

Parameters

First
  • the type which is supposed to be created for the first value.

Second
  • the type which is supposed to be created for the second value.

firstQualifier
  • a optional qualifier for a special flavour of a type of the first value.

secondQualifier
  • a optional qualifier for a special flavour of a type of the second value.

Throws

kotlin.IllegalStateException

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