use of org.apache.druid.server.log.NoopRequestLoggerProvider in project druid by druid-io.
the class QueryableModuleTest method testGetDefaultRequestLoggerProvider.
@Test
public void testGetDefaultRequestLoggerProvider() {
Properties properties = new Properties();
final Injector injector = makeInjector(properties);
RequestLoggerProvider emittingRequestLoggerProvider = injector.getInstance(RequestLoggerProvider.class);
Assert.assertTrue(emittingRequestLoggerProvider instanceof NoopRequestLoggerProvider);
RequestLogger requestLogger = emittingRequestLoggerProvider.get();
Assert.assertTrue(requestLogger instanceof NoopRequestLogger);
}
Aggregations