@Test
public void testForcedLogging() {

  Mockito.when(mockContext.shouldForceLogging("logger.name", Level.INFO, false))
      .thenReturn(true);
  assertThat(platform.shouldForceLoggingImpl("logger.name", Level.INFO, false)).isTrue();
  assertThat(platform.shouldForceLoggingImpl("logger.other.name", Level.INFO, false)).isFalse();
}