Skip to content

Commit

Permalink
Issue#475 Added a default constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil-Gabaydullin committed Mar 15, 2023
1 parent 63d351c commit 88cabab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public final class MockitoVerifyNoInteractionsUsage extends BugChecker
private static final Matcher<ExpressionTree> VERIFY_NO_INTERACTIONS =
staticMethod().onClass("org.mockito.Mockito").named("verifyNoInteractions");

/** Instantiates a new {@link MockitoVerifyNoInteractionsUsage} instance. */
public MockitoVerifyNoInteractionsUsage() {}

@Override
public Description matchMethod(MethodTree tree, VisitorState state) {
if (!TEST_METHOD.matches(tree, state)) {
Expand Down

0 comments on commit 88cabab

Please sign in to comment.