Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Verifications break default Expectations cascading #355
I tried to use Verifications instead of Expectations for invocations with redundant recording warning as discussed in #352 and found this strange behavior. Following test nondeterministicaly fails in 1.28.
Also this redundant recording warning is shown non-deterministically if expectation is moved from Verifications to Expectations:
Perhaps IllegalStateException as you proposed in #352 is desired.