@Override
    public PluginRuntime getPluginRuntime() {
        PluginRuntime runtime = new PluginRuntime(getId());
        for (int i = 0; i < decorators.size(); i++) {
            TaskDecorator decorator = decorators.get(i);
            runtime.addInfo("decorator" + i, decorator.getClass().getName());
        }
        return runtime;
    }
@Test
    public void testGetRuntime() {
        ThreadPoolPlugin plugin = new TaskDecoratorPlugin();
        PluginRuntime runtime = new TaskDecoratorPlugin().getPluginRuntime();
        Assert.assertNotNull(runtime);
        Assert.assertEquals(plugin.getId(), runtime.getPluginId());
    }