Class: ExpectedCallNode

Tree.ExpectedCallNode

Represents an ExpectedCall in the Tree.Tree.

Constructor

new ExpectedCallNode(expectedCall)

Creates a new ExpectedCallNode

Parameters:
Name Type Description
expectedCall ExpectedCall

The expected call for this node.

Source:

Members

expectedCall :ExpectedCall

ExpectedCall for this node.

Type:
Source:

Methods

partialMatch(mock) → {boolean}

Determines the the Mock partially matches the ExpectedCall in this node.

Parameters:
Name Type Description
mock Mock

Mock that was called.

Source:
Returns:

True if the mock partially matches; otherwise false.

Type
boolean