public static <T> void accept(Consumer<T> consumer, T target) {
        if (consumer != null) {
            consumer.accept(target);
        }
    }
@Test
    public void testConsumer() {
        final AtomicBoolean atomicBoolean = new AtomicBoolean();
        CommonUtils.accept(param -> atomicBoolean.set(param == SLEEP_TIME), SLEEP_TIME);
        assertTrue(atomicBoolean.get());
    }