diff options
author | Léo Geoffroy <99647462+leo-geoffroy-sonarsource@users.noreply.github.com> | 2022-04-04 18:08:34 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-04-04 20:02:56 +0000 |
commit | 12939729652fad6fa91b72c2139da65dc07ec7e0 (patch) | |
tree | 4752663c64fe527eabe2129028a22a1f394351cb /server/sonar-webserver-api | |
parent | 328aa8c538d17bb2c0f201de221e7edeff5e1349 (diff) | |
download | sonarqube-12939729652fad6fa91b72c2139da65dc07ec7e0.tar.gz sonarqube-12939729652fad6fa91b72c2139da65dc07ec7e0.zip |
NO-JIRA Update Mockito and simpleframework to latest major version
Diffstat (limited to 'server/sonar-webserver-api')
-rw-r--r-- | server/sonar-webserver-api/src/test/java/org/sonar/server/qualitygate/changeevent/QGChangeEventListenersImplTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-webserver-api/src/test/java/org/sonar/server/qualitygate/changeevent/QGChangeEventListenersImplTest.java b/server/sonar-webserver-api/src/test/java/org/sonar/server/qualitygate/changeevent/QGChangeEventListenersImplTest.java index 01fdf0140ab..cd83615d99b 100644 --- a/server/sonar-webserver-api/src/test/java/org/sonar/server/qualitygate/changeevent/QGChangeEventListenersImplTest.java +++ b/server/sonar-webserver-api/src/test/java/org/sonar/server/qualitygate/changeevent/QGChangeEventListenersImplTest.java @@ -56,8 +56,8 @@ import static org.mockito.ArgumentMatchers.same; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.verifyNoMoreInteractions; -import static org.mockito.Mockito.verifyZeroInteractions; import static org.mockito.Mockito.when; public class QGChangeEventListenersImplTest { @@ -83,14 +83,14 @@ public class QGChangeEventListenersImplTest { public void broadcastOnIssueChange_has_no_effect_when_issues_are_empty() { underTest.broadcastOnIssueChange(emptyList(), singletonList(component1QGChangeEvent)); - verifyZeroInteractions(listener1, listener2, listener3); + verifyNoInteractions(listener1, listener2, listener3); } @Test public void broadcastOnIssueChange_has_no_effect_when_no_changeEvent() { underTest.broadcastOnIssueChange(oneIssueOnComponent1, emptySet()); - verifyZeroInteractions(listener1, listener2, listener3); + verifyNoInteractions(listener1, listener2, listener3); } @Test @@ -171,7 +171,7 @@ public class QGChangeEventListenersImplTest { underTest.broadcastOnIssueChange(oneIssueOnComponent1, singletonList(component1QGChangeEvent)); - verifyZeroInteractions(listener1, listener2, listener3); + verifyNoInteractions(listener1, listener2, listener3); } @Test |