private void doBackgroundPasteTest1AtATime(String testValue) throws IOException {
		runSwingLater(() -> {
			try {
				inputDoc.insertString(0, testValue, null);
			}
			catch (BadLocationException e) {
				// ignore
			}
		});
		for (int i = 0; i < testValue.length(); i++) {
			char expectedChar = testValue.charAt(i);
			int actualValue = ip.getStdin().read();
			assertEquals(expectedChar, (char) 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