@Test
	public void testGenerateFullSearchString() {

		// Invoke the copy button, which will generate the search string and copy it to
		// the clipboard.
		pressButtonByName(component, "Copy Preview Button");

		// Wait for swing to finish.
		dialog.waitForCurrentTask();

		// Grab the contents of the clipboard.
		Clipboard clip = GClipboard.getSystemClipboard();

		// Now check the clipboard contents against what we know the search string should be.
		try {
			String searchString = (String) clip.getData(DataFlavor.stringFlavor);
			assertEquals(searchString.trim(),
				"47 57 8d 45 08 50 ff 75 0c e8 84 2c 00 00 83 c4 0c 89 45 fc");
		}
		catch (UnsupportedFlavorException | IOException e) {
			failWithException("Unexpected", e);
		}
	}
Tests that the full search string is generated properly from
the preview table.  To do this we'll execute the "copy preview string"
tool from the toolbar and check the results.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java