@Override
	public void visit(Entry entry) {
	    if(Boolean.FALSE.equals(entry.getAttribute("allowed")))
	        return;
		if (containsSubmenu(entry))
			addSubmenu(entry);
		else
			addActionItem(entry);
	}
@Test
	public void whenNoPopupMenuBecomesVisible_PopupListenerIsNotCalled() {
		menuActionGroupBuilder.visit(menuEntry);
		verify(popupListener, never()).childEntriesWillBecomeVisible(Mockito.any());
	}