com.r3corda.core.node.services.testing / MockServices / <init>

<init>

MockServices(key: KeyPair = generateKeyPair())

A singleton utility that only provides a mock identity, key and storage service. However, this is sufficient for building chains of transactions and verifying them. It isnt sufficient for testing protocols however.