public void removeDecorator(TaskDecorator decorator) {
        decorators.remove(decorator);
    }
@Test
    public void testRemoveDecorator() {
        TaskDecoratorPlugin plugin = new TaskDecoratorPlugin();
        TaskDecorator decorator = runnable -> runnable;
        plugin.addDecorator(decorator);
        plugin.removeDecorator(decorator);
        Assert.assertTrue(plugin.getDecorators().isEmpty());
    }