fillWithSomeTestCash

fun fillWithSomeTestCash(howMuch: <Error class: unknown class><Currency>, issuerServices: <Error class: unknown class>, atLeastThisManyStates: Int, issuedBy: <Error class: unknown class>, owner: <Error class: unknown class>? = null, rng: Random? = null, statesToRecord: <Error class: unknown class> = StatesToRecord.ONLY_RELEVANT, atMostThisManyStates: Int = atLeastThisManyStates): <Error class: unknown class><<Error class: unknown class>>

Creates a random set of between (by default) 3 and 10 cash states that add up to the given amount and adds them to the vault. This is intended for unit tests. By default the cash is owned by the legal identity key from the storage service.

Return

a vault object that represents the generated states (it will NOT be the full vault from the service hub!).

Parameters

issuerServices

service hub of the issuer node, which will be used to sign the transaction.