protected void performSearchNextPrevious(List<Address> expected, DockingActionIf action)
			throws Exception {

		for (Address addr : expected) {
			performAction(action);
			waitForSearchTask();
			codeBrowser.updateNow();
			assertEquals(addr, codeBrowser.getCurrentAddress());
		}

		Address addr = codeBrowser.getCurrentAddress();
		performAction(action);
		waitForSearchTask();
		codeBrowser.updateNow();
		assertEquals(addr, codeBrowser.getCurrentAddress());
	}
Base class for memory search tests.
Ghidra/Features/Base/src/test.slow/java/ghidra/features/base/memsearch/AbstractMemSearchTest.java