@Test public void apply() { registerListener(); call = false; registry.apply("test").accept(null, null); assertTrue(call); }
@Override public BiConsumer<MenuItemClick, Map<String, Object>> apply(String name) { return registryMap.get(name).getListener(); }
ClickListenerRegistry implements Function<String, BiConsumer<MenuItemClick, Map<String, Object>>>,
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> { @Override public BiConsumer<MenuItemClick, Map<String, Object>> apply(String name) { return registryMap.get(name).getListener(); } }
ClickListenerRegistry implements Function<String, BiConsumer<MenuItemClick, Map<String, Object>>>,
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> { @Override public BiConsumer<MenuItemClick, Map<String, Object>> apply(String name) { return registryMap.get(name).getListener(); } ClickListenerRegistry(Map<String, RegisteredListener<String, BiConsumer<MenuItemClick, Map<String, Object>>>> registryMap);  ClickListenerRegistry(); }
ClickListenerRegistry implements Function<String, BiConsumer<MenuItemClick, Map<String, Object>>>,
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> { @Override public BiConsumer<MenuItemClick, Map<String, Object>> apply(String name) { return registryMap.get(name).getListener(); } 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); }
ClickListenerRegistry implements Function<String, BiConsumer<MenuItemClick, Map<String, Object>>>,
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> { @Override public BiConsumer<MenuItemClick, Map<String, Object>> apply(String name) { return registryMap.get(name).getListener(); } 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; }