@Test
	public void testAskChoice() throws Exception {
		createScript();

		// Compare default value to expected properties value
		List<String> choices = Arrays.asList("eenie", "meanie", "miney", "mo");
		String chosen = ask_ComboInput(() -> {
			return script.askChoice("Ask Test", "Choose one:", choices, "mo");
		});
		assertEquals("meanie", chosen);

		// Set choice to a different value
		String choice_eenie = choices.get(0);
		chosen = ask_ComboInput(choice_eenie, () -> {
			return script.askChoice("Ask Test", "Choose one:", choices, "mo");
		});
		assertEquals(choice_eenie, chosen);

		// See if the last-set value is auto-populated
		String choice_miney = choices.get(2);
		chosen = ask_ComboInput(() -> {
			// Note: we are passing a default of 'miney', but expect the last choice of 'eenie'
			return script.askChoice("Ask Test", "Choose one:", choices, choice_miney);
		});
		assertEquals(choice_eenie, chosen);
	}
A large timeout period that is usually not reached
Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java