expect
Creates an Expect for the given subject.
Return
The newly created Expect.
Parameters
The subject for which we are going to postulate expectations.
Throws
in case an assertion does not hold.
Creates an Expect for the given subject and appends the expectations the given assertionCreator-lambda creates as group to it.
Return
The newly created Expect.
Parameters
The subject for which we are going to postulate expectations.
expectation-group with a non-fail fast behaviour.
Throws
in case an assertion does not hold.
Creates an Expect for the given (unrelated) newSubject.
We recommend to use its
or feature
or another feature extractor if you want to extract a feature out of the current subject.
Return
The newly created Expect.
Since
1.0.0
Parameters
The subject for which we are going to postulate expectations.
Throws
in case an assertion does not hold.
Creates an Expect for the given (unrelated) newSubject and appends the expectations the given assertionCreator-lambda creates as group to it.
We recommend to use its
or feature
or another feature extractor if you want to extract a feature out of the current subject.
Return
The newly created Expect.
Since
1.0.0
Parameters
The new subject for which we are going to postulate expectations.
expectation-group with a non-fail fast behaviour.
Throws
in case an assertion does not hold.