@VisibleForTesting
	boolean hasMenuEntries(MenuEntry[] menuEntries)
	{
		for (MenuEntry menuEntry : menuEntries)
		{
			MenuAction action = menuEntry.getType();
			switch (action)
			{
				case CANCEL:
				case WALK:
					break;
				case EXAMINE_OBJECT:
				case EXAMINE_NPC:
				case EXAMINE_ITEM_GROUND:
				case EXAMINE_ITEM:
				case CC_OP_LOW_PRIORITY:
					if (config.rightClickExamine())
					{
						return true;
					}
					break;
				case GAME_OBJECT_FIRST_OPTION:
				case GAME_OBJECT_SECOND_OPTION:
				case GAME_OBJECT_THIRD_OPTION:
				case GAME_OBJECT_FOURTH_OPTION:
				case GAME_OBJECT_FIFTH_OPTION:
				case NPC_FIRST_OPTION:
				case NPC_SECOND_OPTION:
				case NPC_THIRD_OPTION:
				case NPC_FOURTH_OPTION:
				case NPC_FIFTH_OPTION:
				case GROUND_ITEM_FIRST_OPTION:
				case GROUND_ITEM_SECOND_OPTION:
				case GROUND_ITEM_THIRD_OPTION:
				case GROUND_ITEM_FOURTH_OPTION:
				case GROUND_ITEM_FIFTH_OPTION:
				case PLAYER_FIRST_OPTION:
				case PLAYER_SECOND_OPTION:
				case PLAYER_THIRD_OPTION:
				case PLAYER_FOURTH_OPTION:
				case PLAYER_FIFTH_OPTION:
				case PLAYER_SIXTH_OPTION:
				case PLAYER_SEVENTH_OPTION:
				case PLAYER_EIGHTH_OPTION:
					if (config.rightClickObjects())
					{
						return true;
					}
					break;
				default:
					return true;
			}
		}
		return false;
	}
@Test
	public void testHasMenuEntries()
	{
		/*
			                    right click examine?    right click object?      move camera
			  has object op     Y                       Y                        N
			                    Y                       N                        N
			                    N                       Y                        N
			                    N                       N                        Y

			 has examine op     Y                       Y                        N
			                    Y                       N                        N
			                    N                       Y                        Y
			                    N                       N                        Y
		 */
		test(true, true, true, true, false);
		test(true, true, true, false, false);
		test(true, true, false, true, false);
		test(true, true, false, false, true);

		test(false, true, true, true, false);
		test(false, true, true, false, false);
		test(false, true, false, true, true);
		test(false, true, false, false, true);
	}