dropwizard-e2e/src/test/java/com/example/badlog/BadLogTest.java
Method testSupportShouldResetLogging
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
void testSupportShouldResetLogging(@TempDir Path tempDir) throws Exception {
// Clear out the log file
final Path logFile = Files.write(tempDir.resolve("example.log"), new byte[0]);