@Override
    public Collection<TaskAwarePlugin> getTaskAwarePluginList() {
        return mainLock.applyWithReadLock(taskAwarePluginList::getPlugins);
    }
@Test
    public void testGetTaskAwarePluginList() {
        manager.register(new TestTaskAwarePlugin());
        Assert.assertEquals(1, manager.getTaskAwarePluginList().size());
    }