@Test
public void testCallback() {

    callbacks.callback();
    DefaultShutdownHookCallback callback = (DefaultShutdownHookCallback) callbacks.getCallbacks().iterator().next();
    assertTrue(callback.isExecuted());
}