@Test
public void testCreate() {

  FluentLogger logger = FluentLogger.forEnclosingClass();
  assertThat(logger.getName()).isEqualTo(FluentLoggerTest.class.getName());
  // Note that this one-to-one binding of loggers and backends is not strictly necessary and in
  // future it's plausible that a configured backend factory might return backends shared with
  // many loggers. In that situation, the logger name must still be the enclosing class name
  // (held separately by the logger itself) while the backend name could differ.
  assertThat(logger.getBackend().getLoggerName()).isEqualTo(FluentLoggerTest.class.getName());
}