This repository was archived by the owner on Jun 27, 2023. It is now read-only.
Order of calls is enforced when InOrder()
or After()
were not invoked
#653
Labels
Actual behaviour
When I have
EXPECT
set for two calls to the same method with different parameters - the order ofEXPECT
definitions enforces the order of the actual calls.I.e. when having these expectations defined:
and code under test defined as
Just changing the order of definitions of calls expected with no other changes, i.e. making it
makes the test fail.
Expected behavior
As per documentation:
So no order should be enforced as long as the actual calls match any of the defined expectations.
Additional Information
The text was updated successfully, but these errors were encountered: