Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Verifications not working with TestNG 6.11 #463
Verifications block throws in the following code:
Exception is thrown by the UnorderedVerificationPhase.handleInvocationCountConstraint(...) Line: 88, because the expectationsInReplayOrder is empty. Problem occurs only when the interface is public (also when located in different file) and only when Dependency is mocked as the parameter of the test method. Mocking a class in a similar manners works.