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

		// Compare default value to expected properties value
		int chosenInt = ask_TextInput(() -> {
			return script.askInt("Ask Test", "Enter an integer:");
		});
		assertEquals(10101, chosenInt);

		// Now set int to some other value
		Integer newInt = 123456;
		chosenInt = ask_TextInput(Integer.toString(newInt), () -> {
			return script.askInt("Ask Test", "Enter an integer:");
		});

		// See if the last-set value is auto-populated
		chosenInt = ask_TextInput(() -> {
			return script.askInt("Ask Test", "Enter an integer:");
		});
		assertEquals(newInt.intValue(), chosenInt);
	}
A large timeout period that is usually not reached
Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java