public void addDecorator(@NonNull TaskDecorator decorator) {
        decorators.remove(decorator);
        decorators.add(decorator);
    }
@Test
    public void testAddDecorator() {
        TaskDecoratorPlugin plugin = new TaskDecoratorPlugin();
        plugin.addDecorator(runnable -> runnable);
        plugin.addDecorator(runnable -> runnable);
        Assert.assertEquals(2, plugin.getDecorators().size());
    }