Returns whether other
is an Expect with the same command
, the same defaultValue
, the same settings
and
the same expects
as this Expect
.
Returns whether other
is an Expect with the same command
, the same defaultValue
, the same settings
and
the same expects
as this Expect
.
In the cases that expects
contains an Action with a function, eg. Returning, this method will return false,
because equality is not defined for functions.
The method structurallyEqual
can be used to test that two expects contain the same structure.
the other Expect to campare this Expect to.
Returns whether the other expect has the same command, the same defaultValue, the same settings and the same expects structurally.
Returns whether the other expect has the same command, the same defaultValue, the same settings and the same expects structurally. The expects are structurally equal if there are the same number of expects and each expect has the same number of Whens with the same structure.
the other Expect to campare this Expect to.