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

		// Compare default value to expected properties value
		String propertiesByteString = "AABBCCDD";
		byte[] myBytes = askBytes();
		assertByteArrayEquals(getBytesAsHex(propertiesByteString, 8), myBytes);

		// Set bytes to a different value. (Call the chooser and set the bytes, expecting that
		// the next call to askBytes will reuse this value.)
		String newByteString = "BB EE EE";
		askBytes(newByteString);

		myBytes = askBytes();
		byte[] expectedBytes = getBytesAsHex(newByteString.replaceAll("\\s", ""), 6);
		assertByteArrayEquals(expectedBytes, myBytes);
	}
A large timeout period that is usually not reached
Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java