private void doBackgroundTriggerTextTest(List<String> testValues) throws Exception {

		new Thread(() -> {
			for (String s : testValues) {
				triggerText(inputTextPane, s + "\n");
			}
		}).start();

		for (String expectedValue : testValues) {
			String actualValue = reader.readLine();
			assertEquals(expectedValue, actualValue);
		}
	}
Test the InterpreterPanel/InterpreterConsole's stdIn InputStream handling by 
manually creating a JFrame (while a regular Ghidra tool is running)
to host the panel in.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/interpreter/InterpreterPanelTest.java