@Override
    public void accept(Long sleepTime) {
        if (sleepTime == null) {
            return;
        }
        try {
            Thread.sleep(sleepTime * ConfigConstants.SEC_DELTA);
        } catch (InterruptedException ex) {
            LoggerFactory.getLogger().severe("[GracePlugin] Delay registry failed!");
        }
    }
@Test
    public void accept() {
        final RegistryDelayConsumer registryDelayConsumer = new RegistryDelayConsumer();
        long sleepS = 1L;
        final long start = System.currentTimeMillis();
        registryDelayConsumer.accept(sleepS);
        Assert.assertTrue(System.currentTimeMillis() - start >= sleepS * ConfigConstants.SEC_DELTA );
    }