@Override
    public Collection<ShutdownAwarePlugin> getShutdownAwarePluginList() {
        return mainLock.applyWithReadLock(shutdownAwarePluginList::getPlugins);
    }
@Test
    public void testGetShutdownAwarePluginList() {
        manager.register(new TestShutdownAwarePlugin());
        Assert.assertEquals(1, manager.getShutdownAwarePluginList().size());
    }