@Test
public void testIsLoggable() {

  Logger logger = new TestLogger("unused", Level.INFO);
  AbstractBackend backend = new TestBackend(logger);
  assertThat(backend.isLoggable(Level.INFO)).isTrue();
  assertThat(backend.isLoggable(Level.FINE)).isFalse();
}