File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 3030import org .apache .logging .log4j .core .config .Property ;
3131import org .apache .logging .log4j .core .layout .JsonLayout ;
3232import org .apache .logging .log4j .core .net .ssl .SslConfiguration ;
33- import org .apache .logging .log4j .status .StatusLogger ;
3433import org .apache .logging .log4j .test .ListStatusListener ;
3534import org .apache .logging .log4j .test .junit .UsingStatusListener ;
3635import org .junit .jupiter .api .Test ;
37- import org .mockito .Mockito ;
3836
3937class HttpAppenderBuilderTest {
4038
41- // Mock the LOGGER to verify error logs
42- private final StatusLogger mockStatusLogger = Mockito .mock (StatusLogger .class );
43-
4439 private HttpAppender .Builder <?> getBuilder () {
4540 Configuration mockConfig = new DefaultConfiguration ();
4641 return HttpAppender .newBuilder ().setConfiguration (mockConfig ).setName ("TestHttpAppender" ); // Name is required
You can’t perform that action at this time.
0 commit comments