UnstartedMockNode

A class that represents an unstarted mock node for testing.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: Int

An identifier for the node. By default this is allocated sequentially in a MockNetwork

Link copied to clipboard

Whether this node has been started yet.

Link copied to clipboard

A StartedMockNode object for this running node.

Functions

Link copied to clipboard
fun <T> installCordaService(serviceClass: Class<T>): T

Install a custom test-only CordaService.

Link copied to clipboard

Start the node