corda / net.corda.client.mock

## Package net.corda.client.mock

### Types

EventGenerator | `class EventGenerator` Generators for incoming/outgoing events to/from the WalletMonitorService. Internally it keeps track of owned state/ref pairs, but it doesn't necessarily generate "correct" events!
Generator | `class Generator<out A : Any>` This file defines a basic Generator library for composing random generators of objects.

### Functions

generateAmount | `fun <T : Any> generateAmount(min: Long, max: Long, tokenGenerator: Generator<T>): Generator<Amount<T>>`
generateCurrency | `fun generateCurrency(): Generator<Currency>`
generateCurrencyAmount | `fun generateCurrencyAmount(min: Long, max: Long): Generator<Amount<Currency>>`
generateIssueRef | `fun generateIssueRef(size: Int): Generator<OpaqueBytes>`
generateOrFail | `fun <A : Any> Generator<A>.generateOrFail(random: SplittableRandom, numberOfTries: Int = 1): A`

### Companion Object Functions

bytes | `fun Generator.Companion.bytes(size: Int): Generator<ByteArray>`
double | `fun Generator.Companion.double(): Generator<Double>`
doubleRange | `fun Generator.Companion.doubleRange(from: Double, to: Double): Generator<Double>`
frequency | `fun <A : Any> Generator.Companion.frequency(vararg generators: Pair<Double, Generator<A>>): Generator<A>`
int | `fun Generator.Companion.int(): Generator<Int>`
intRange | `fun Generator.Companion.intRange(range: IntRange): Generator<Int>` `fun Generator.Companion.intRange(from: Int, to: Int): Generator<Int>`
longRange | `fun Generator.Companion.longRange(range: LongRange): Generator<Long>` `fun Generator.Companion.longRange(from: Long, to: Long): Generator<Long>`
pickN | `fun <A : Any> Generator.Companion.pickN(number: Int, list: List<A>): Generator<List<A>>`
pickOne | `fun <A : Any> Generator.Companion.pickOne(list: List<A>): Generator<A>`
replicate | `fun <A : Any> Generator.Companion.replicate(number: Int, generator: Generator<A>): Generator<List<A>>`
replicatePoisson | `fun <A : Any> Generator.Companion.replicatePoisson(meanSize: Double, generator: Generator<A>): Generator<List<A>>`
sampleBernoulli | `fun <A> Generator.Companion.sampleBernoulli(maxRatio: Double = 1.0, vararg collection: A): Generator<List<Array<out A>>>` `fun <A> Generator.Companion.sampleBernoulli(collection: Collection<A>, maxRatio: Double = 1.0): Generator<List<A>>`