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 /sonar-plugin-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 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/utils/log/ConsoleLoggerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/utils/log/ConsoleLoggerTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/utils/log/ConsoleLoggerTest.java index d948da7f0c1..0c4d98d490a 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/utils/log/ConsoleLoggerTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/utils/log/ConsoleLoggerTest.java @@ -30,7 +30,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.startsWith; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.verifyZeroInteractions; +import static org.mockito.Mockito.verifyNoInteractions; public class ConsoleLoggerTest { @@ -66,7 +66,7 @@ public class ConsoleLoggerTest { underTest.debug("message {}", "foo"); underTest.debug("message {} {}", "foo", "bar"); underTest.debug("message {} {} {}", "foo", "bar", "baz"); - verifyZeroInteractions(stream); + verifyNoInteractions(stream); } @Test @@ -89,7 +89,7 @@ public class ConsoleLoggerTest { underTest.trace("message {}", "foo"); underTest.trace("message {} {}", "foo", "bar"); underTest.trace("message {} {} {}", "foo", "bar", "baz"); - verifyZeroInteractions(stream); + verifyNoInteractions(stream); } @Test |