Skip to main content
Represents an expectation used within a test case. Each method performs an assertion comparing the supplied value to the expected one.

Fields

never

Returns an Expectation that negates the subsequent assertion.

Methods

is

Asserts that the value equals the expected value.

greaterThan

Asserts that the value is greater than the expected value.

lessThan

Asserts that the value is less than the expected value.

greaterThanOrEqual

Asserts that the value is greater than or equal to the expected value.

lessThanOrEqual

Asserts that the value is less than or equal to the expected value.