@Test
	public void testSearchEntireProgramSingleResult() {

		// Make sure the "entire program" button is selected.
		setToggleButtonSelected(component, "Entire Program", true);

		// Wait for the gui to finish updating.
		dialog.waitForCurrentTask();

		// Now get the search button and execute it.
		pressSearchAll();

		// Wait for the results window and verify the result count
		assertResultsTableRowCount(1);
	}
Tests that we can perform a search over the entire memory space and return a single
result.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java