@Test
	public void testDirInputValue() throws Throwable {
		PromptResult result = prompt(PARAM_DIR);
		result.h.setArgAsString(PARAM_DIR, "your_dir");
		result.h.invoke();

		Map<String, ValStr<?>> args = waitOn(result.args);
		assertEquals(Map.of("some_dir", dirVal("your_dir")), args);
	}
TODO: This is a bit out of order. However, the dialog cannot load/decode from the state
until it has the parameters. Worse, to check that user input was valid, the dialog
verifies that the value it gets back matches the text in the box, because if it doesn't,
then the editor must have failed to parse/decode the value. Currently, loading the state
while the dialog box has already populated its values, does not modify the contents of
any editor, so the text <em>will not</em> match, causing this test to fail.
Ghidra/Test/DebuggerIntegrationTest/src/test/java/ghidra/app/plugin/core/debug/gui/tracermi/launcher/TraceRmiLaunchDialogTest.java