CorrelatedPropertyGenerator
Constructors
CorrelatedPropertyGenerator
Link copied to clipboard
fun <R, RR> CorrelatedPropertyGenerator(prop: KProperty1<T, R>, invoke: (R) -> Generator<RR>)
Content copied to clipboard
This constructor enables users to nest a CorrelatedPropertyGenerator. Doing so results in a correlation chain by which all required values are generated ahead of the correlated Generator.
CorrelatedPropertyGenerator
Link copied to clipboard
fun <R, RR> CorrelatedPropertyGenerator(prop: KProperty1<T, R>, invoke: (R, Random) -> RR)
Content copied to clipboard
This constructor enables direct correlation with a desired Generator