diff options
Diffstat (limited to 'src/test/java/org/sonarsource/scanner')
-rw-r--r-- | src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java b/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java index 2e60e81..d440427 100644 --- a/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java @@ -19,23 +19,18 @@ */ package org.sonarsource.scanner.cli; +import java.util.Properties; +import org.junit.Before; +import org.junit.Test; import org.sonarsource.scanner.api.EmbeddedScanner; import org.sonarsource.scanner.api.LogOutput; import org.sonarsource.scanner.api.LogOutput.Level; -import org.sonarsource.scanner.cli.Logs; -import org.sonarsource.scanner.cli.ScannerFactory; -import org.junit.Before; - -import java.util.Properties; - -import static org.mockito.Mockito.verifyNoMoreInteractions; +import static org.fest.assertions.Assertions.assertThat; +import static org.mockito.Mockito.mock; import static org.mockito.Mockito.reset; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.mock; -import org.junit.Test; - -import static org.fest.assertions.Assertions.assertThat; +import static org.mockito.Mockito.verifyNoMoreInteractions; public class ScannerFactoryTest { @@ -78,7 +73,7 @@ public class ScannerFactoryTest { reset(logs); logOutput.log(msg, Level.WARN); - verify(logs).info(msg); + verify(logs).warn(msg); verifyNoMoreInteractions(logs); reset(logs); |