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 testAtLeastOnceInfo() {
        when(logger.isInfoEnabled()).thenReturn(true);
        LogUtils.info(logger, supplier);
        verify(supplier, atLeastOnce()).get();
    }