public static void info(final Logger logger, final String format, final Supplier<Object> supplier) {
        if (logger.isInfoEnabled()) {
            logger.info(format, supplier.get());
        }
    }
@Test
    public void testNeverInfoWithFormat() {
        when(logger.isInfoEnabled()).thenReturn(false);
        LogUtils.info(logger, "testInfo: {}", supplier);
        verify(supplier, never()).get();
    }