@Override
	public void childEntriesWillBecomeVisible(final Entry submenu) {
		UserRole userRole = currentUserRole();
		childEntriesWillBecomeVisible(submenu, userRole);
	}
@Test
	public void activatesSelectOnPopup_forCheckSelectionOnPopup() {
		Entry menuEntry = new Entry();
		Entry actionEntry = new Entry();
		menuEntry.addChild(actionEntry);
		final AFreeplaneAction someAction = Mockito.mock(AFreeplaneAction.class);
		when(someAction.checkSelectionOnPopup()).thenReturn(true);
		when(someAction.isEnabled()).thenReturn(true);
		new EntryAccessor().setAction(actionEntry, someAction);

		final ActionStatusUpdater actionSelectListener = new ActionStatusUpdater();
		actionSelectListener.childEntriesWillBecomeVisible(menuEntry, UserRole.EDITOR);
		verify(someAction).setSelected();
	}