@Override
    public void doRegister(@NonNull ThreadPoolPluginSupport support) {
        enableThreadPoolPluginRegistrars.values().forEach(registrar -> registrar.doRegister(support));
        enableThreadPoolPlugins.values().forEach(support::tryRegister);
    }
@Test
    public void testDoRegister() {
        GlobalThreadPoolPluginManager manager = new DefaultGlobalThreadPoolPluginManager();
        manager.enableThreadPoolPlugin(new TestPlugin("1"));
        manager.enableThreadPoolPlugin(new TestPlugin("2"));
        manager.enableThreadPoolPluginRegistrar(new TestRegistrar("1"));

        TestSupport support = new TestSupport("1");
        manager.doRegister(support);
        Assert.assertEquals(3, support.getAllPlugins().size());
    }