public static void debug(final Logger logger, final String format, final Supplier<Object> supplier) {
        if (logger.isDebugEnabled()) {
            logger.debug(format, supplier.get());
        }
    }
@Test
    public void testNeverDebug() {
        when(logger.isDebugEnabled()).thenReturn(false);
        LogUtils.debug(logger, supplier);
        verify(supplier, never()).get();
    }