fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, start: Boolean = true, legalName: String? = null, keyPair: KeyPair? = null, databasePersistence: Boolean = false, vararg advertisedServices: ServiceType): MockNode
Returns a node, optionally created by the passed factory method.