@Test
public void testGetLogger() {

    Assertions.assertThrows(RuntimeException.class, () -> {
        Logger failLogger = mock(Logger.class);
        FailsafeLogger failsafeLogger = new FailsafeLogger(failLogger);
        doThrow(new RuntimeException()).when(failLogger).error(anyString());
        failsafeLogger.getLogger().error("should get error");
    });
}