ClickListenerRegistry implements Function<String, BiConsumer<MenuItemClick, Map<String, Object>>>,
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> { @Override public boolean removeListener(String name) { Preconditions.checkNotNull(name, "Null name"); return registryMap.remove(name) != null; } 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 removeListener() { registerListener(); boolean test = registry.removeListener("test"); assertTrue(test); assertTrue(!registry.contains("test")); }