@Test
public void testIsEnabled() {

  FakeLoggerBackend backend = new FakeLoggerBackend();
  FluentLogger logger = new FluentLogger(backend);
  backend.setLevel(INFO);
  assertThat(logger.atFine().isEnabled()).isFalse();
  assertThat(logger.atInfo().isEnabled()).isTrue();
  assertThat(logger.at(Level.WARNING).isEnabled()).isTrue();
}