Skip to content

Commit

Permalink
solve sonarcloud issue
Browse files Browse the repository at this point in the history
  • Loading branch information
EddeCCC committed Oct 10, 2024
1 parent 8bb8cd2 commit 827478b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void shouldRemoveHooksForClassWhenScopeIsInactive() {
methodHookManager.updateHooksFor(
TEST_CLASS, ClassInstrumentationConfiguration.NO_INSTRUMENTATION);

verify(hookState).removeObsoleteHooks(eq(TEST_CLASS), eq(Collections.emptySet()));
verify(hookState).removeObsoleteHooks(TEST_CLASS, Collections.emptySet());
verify(hookState).updateHooks(eq(TEST_CLASS), argThat(config -> config.getMethods().isEmpty()));
}
}

0 comments on commit 827478b

Please sign in to comment.