diff --git a/src/test/java/edu/hm/hafner/analysis/AntModuleDetectorTest.java b/src/test/java/edu/hm/hafner/analysis/AntModuleDetectorTest.java index fd5e65469..d36d670ee 100644 --- a/src/test/java/edu/hm/hafner/analysis/AntModuleDetectorTest.java +++ b/src/test/java/edu/hm/hafner/analysis/AntModuleDetectorTest.java @@ -4,10 +4,10 @@ import org.junit.jupiter.api.Test; import edu.hm.hafner.analysis.ModuleDetector.FileSystem; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import static org.assertj.core.api.Assertions.*; -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.ArgumentMatchers.*; import static org.mockito.Mockito.*; class AntModuleDetectorTest extends AbstractModuleDetectorTest { @@ -19,7 +19,7 @@ String getPathPrefix() { return PATH_PREFIX_ANT; } - @Override + @Override @SuppressFBWarnings("NM") String getFileName() { return getPathPrefix() + "something.txt"; } @@ -44,4 +44,4 @@ void shouldIdentifyModuleByReadingAntProjectFile() { assertThat(detector.guessModuleName(PREFIX + "path/to/something.txt")) .isEqualTo(StringUtils.EMPTY); } -} \ No newline at end of file +}