com.r3corda.client.mock

## Package com.r3corda.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 doesnt necessarily generate "correct" events
Generator | `class Generator<out A>` This file defines a basic Generator library for composing random generators of objects.

### Functions

generateOrFail | `fun <A> Generator<A>.generateOrFail(random: Random, numberOfTries: Int = 1): A`

### Companion Object Functions

double | `fun Generator.Companion.double(): Generator<Double>`
doubleRange | `fun Generator.Companion.doubleRange(from: Double, to: Double): Generator<Double>`
int | `fun Generator.Companion.int(): Generator<Int>`
intRange | `fun Generator.Companion.intRange(from: Int, to: Int): Generator<Int>`
oneOf | `fun <A> Generator.Companion.oneOf(list: List<A>): Generator<A>`
pickOne | `fun <A> Generator.Companion.pickOne(list: List<A>): Generator<A>`
replicate | `fun <A> Generator.Companion.replicate(number: Int, generator: Generator<A>): Generator<List<A>>`
replicatePoisson | `fun <A> Generator.Companion.replicatePoisson(meanSize: Double, generator: Generator<A>): Generator<List<A>>`
sampleBernoulli | `fun <A> Generator.Companion.sampleBernoulli(maxRatio: Double = 1.0, vararg collection: A): <ERROR CLASS>` `fun <A> Generator.Companion.sampleBernoulli(collection: Collection<A>, maxRatio: Double = 1.0): Generator<List<A>>`