@Test
public void doLog_format_arguments_disabled() throws Exception {

    when(underlyingLogger.isWarnEnabled(testMarker)).thenReturn(false);
    lambdaLogger.doLog(testMarker, Level.WARN, "message format", new Object[]{"hello", "world"}, testException);
    verify(underlyingLogger, never()).warn(eq(testMarker), anyString(), eq(testException));
}