RegisterNodeCall

class RegisterNodeCall(result: Result<PrivateNodeRegistration>) : MockMethodCall<RegisterNodeArgs, PrivateNodeRegistration>

Mock call to register a private node.

Parameters

result

The private node registration to return to mimic a success scenario, or the exception to throw in a failure scenario.

Constructors

Link copied to clipboard
constructor(result: Result<PrivateNodeRegistration>)

Properties

Link copied to clipboard

The arguments with which the call was made.

Link copied to clipboard

Report whether the method call was actually called.