public void callback() {
        getCallbacks().forEach(callback -> execute(callback::callback));
    }
@Test
    void testCallback() {
        callbacks.callback();
        DefaultShutdownHookCallback callback = (DefaultShutdownHookCallback)
                callbacks.getCallbacks().iterator().next();
        assertTrue(callback.isExecuted());
    }