Go to repository

Function and

Create a new JoinedExpectation where all the expectations need to have a true result in order for the result of the joined one to be also true. That is, an expectation that joins it's components with a logical and.

Parameters

  • Rest
    ...expectations: FinishedExpectation[]

    A list of expectations that need to be fulfilled in order to return true as result.

Returns FinishedExpectation