NopLoggingProvider implements LoggingProvider { @Override public boolean isEnabled(final int depth, final String tag, final Level level) { return false; } NopLoggingProvider(); @Override ContextProvider getContextProvider(); @Override Level getMinimumLevel(); @Override Level getMinimumLevel(final String tag); @Override boolean isEnabled(final int depth, final String tag, final Level level); @Override void log(final int depth, final String tag, final Level level, final Throwable exception, final MessageFormatter formatter,
		final Object obj, final Object... arguments); @Override void log(final String loggerClassName, final String tag, final Level level, final Throwable exception,
		final MessageFormatter formatter, final Object obj, final Object... arguments); @Override void shutdown();  }
@Test public void isEnabledUntagged() { assertThat(provider.isEnabled(0, null, Level.TRACE)).isFalse(); assertThat(provider.isEnabled(1, null, Level.DEBUG)).isFalse(); assertThat(provider.isEnabled(2, null, Level.INFO)).isFalse(); assertThat(provider.isEnabled(3, null, Level.WARN)).isFalse(); assertThat(provider.isEnabled(4, null, Level.ERROR)).isFalse(); }
@Test public void isEnabledTagged() { assertThat(provider.isEnabled(0, "test", Level.TRACE)).isFalse(); assertThat(provider.isEnabled(1, "test", Level.DEBUG)).isFalse(); assertThat(provider.isEnabled(2, "test", Level.INFO)).isFalse(); assertThat(provider.isEnabled(3, "test", Level.WARN)).isFalse(); assertThat(provider.isEnabled(4, "test", Level.ERROR)).isFalse(); }