ClickListenerRegistry implements Function<String, BiConsumer<MenuItemClick, Map<String, Object>>>,
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> { @Override public void merge(ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> registry) { ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> copy = ListenerRegistries.copyOf(registry, ClickListenerRegistry::new); registryMap.putAll(copy.getRegisteredListeners()); reInitMap(); } ClickListenerRegistry(Map<String, RegisteredListener<String, BiConsumer<MenuItemClick, Map<String, Object>>>> registryMap);  ClickListenerRegistry(); @Override BiConsumer<MenuItemClick, Map<String, Object>> apply(String name); @Override boolean removeListener(String name); @Override Optional<RegisteredListener<String, BiConsumer<MenuItemClick, Map<String, Object>>>> getRegisteredListener(String id); @Override Map<String, RegisteredListener<String, BiConsumer<MenuItemClick, Map<String, Object>>>> getRegisteredListeners(); @Override void merge(ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> registry); @Override void addListenerPreProcessor(UnaryOperator<BiConsumer<MenuItemClick, Map<String, Object>>> processor); @Override RegisteredListener<String, BiConsumer<MenuItemClick, Map<String, Object>>> registerListener(
            String name, BiConsumer<MenuItemClick, Map<String, Object>> handler, boolean override); @Override boolean contains(String identifier); static final ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> STANDARD_PREDEFINED_REGISTRY; }
@Test public void merge() { ClickListenerRegistry registry2 = new ClickListenerRegistry(); registry2.registerListener("registry2", (a, b) -> { }, true); registry2.registerListener("registry3", (a, b) -> { }, true); registry.registerListener("registry", (a, b) -> { }, true); registry.merge(registry2); assertTrue(registry.getRegisteredListeners().containsKey("registry")); assertTrue(registry.getRegisteredListeners().containsKey("registry2")); assertTrue(registry.getRegisteredListeners().containsKey("registry3")); }