UnstartedMockNode - corda

corda / net.corda.testing.node / UnstartedMockNode

# UnstartedMockNode

`class UnstartedMockNode`

A class that represents an unstarted mock node for testing.

### Properties

#### 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`

### Functions

#### installCordaService | Install a custom test-only CordaService. `fun <T : SerializeAsToken> installCordaService(serviceClass: Class<T>): T`
#### start | Start the node `fun start(): StartedMockNode`