@Test
	public void testSearchDataForward() {

		ProgramLocation startLoc = new AddressFieldLocation(program, addr(0x01001000));
		SearchOptions options = new SearchOptions("unicode", false, false, false, false, true, true,
			true, true, false, true, false, false);
		searcher =
			new ListingDisplaySearcher(tool, program, startLoc, null, options, TaskMonitor.DUMMY);

		//set up list of answers
		ArrayList<Address> startList = new ArrayList<>();
		startList.add(addr(0x01001708));
		startList.add(addr(0x01001740));

		//check that the text is found there in the correct field
		checkTextFound(startList, MnemonicFieldLocation.class);

	}
Test the searcher that searches fields in the Code Browser
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/searchtext/ListingDisplaySearcherTest.java