Helper class TestWithMocks verifyMethods use ArgConstraintBuilder instead of VerificationBuilder
HylkeB opened this issue · 0 comments
HylkeB commented
As the title says. I was trying to implement a verification that verifies an exception was thrown, but i couldnt find the appropriate method because i was using the verify
method provided by the TestsWithMocks
class. It can't find the threw
method then because the block uses ArgConstraintBuilder
as this scope, instead of VerificationBuilder
.
I suppose its an easy fix. For now I use the mocker reference directly.