Skip to content

Make the test output language validation less strict. #1

Closed
@tjheslin1

Description

@tjheslin1

Example:

given(theInventory.willReturn().aDirectoryNumber(DIR_NUM));
when(theClientRequestsADirectoryNumbersDetails());
then(theResponse).hasCode(200);
and(theResponse).containsDetails(DIR_DETAILS);

In the event that my then's have to be in a specific order and my first assertion doesn't use the then() framework (e.g a wiremock verify), the framework then complains that I have not provided a then() before my and()'s.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions