com.r3corda.core.testing / InMemoryVaultService / <init>

# <init>

`InMemoryVaultService(services: ServiceHub)`

This class implements a simple, in memory vault that tracks states that are owned by us, and also has a convenience method to auto-generate some self-issued cash states that can be used for test trading. A real vault would persist states relevant to us into a database and once such a vault is implemented, this scaffolding can be removed.