@Test
public void testBackendFactory() {

  LoggerBackend mockBackend = Mockito.mock(LoggerBackend.class);
  Mockito.when(mockBackendFactory.create("logger.name")).thenReturn(mockBackend);
  assertThat(platform.getBackendImpl("logger.name")).isEqualTo(mockBackend);
}