class UnstartedMockNode
A class that represents an unstarted mock node for testing.
id |
An identifier for the node. By default this is allocated sequentially in a MockNetwork val id: Int |
isStarted |
Whether this node has been started yet. val isStarted: Boolean |
started |
A StartedMockNode object for this running node. val started: StartedMockNode |
installCordaService |
Install a custom test-only CordaService. fun <T : SerializeAsToken> installCordaService(serviceClass: Class<T>): T |
start |
Start the node fun start(): StartedMockNode |