Closed tjheslin1 closed 8 years ago
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.
then()
verify
and()
Done! I removed that validation in version 1.6.0
Example:
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 wiremockverify
), the framework then complains that I have not provided athen()
before myand()
's.