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