@Test
	public void testRangeWithAddressInsideOfThatRange_SearchAll() {
		//
		// Set up a range that contains multiple matches.    Put the start address past one 
		// of the addresses and make sure that match is not found.
		// 
		AddressSet as = new AddressSet();
		as.add(addr(0x100415a), addr(0x10041a5));

		ProgramLocation startLoc = new AddressFieldLocation(program, addr(0x1004178));
		SearchOptions options = new SearchOptions("LAB", false, true, false);

		searcher =
			new ListingDisplaySearcher(tool, program, startLoc, as, options, TaskMonitor.DUMMY);

		// originally had 8 matches, but since we moved the start address past the start of the
		// range, we now only have 7
		//check that the text is found there in the correct field
		checkTextFound(addr(0x01004192), LabelFieldLocation.class);
		checkTextFound(addr(0x01004194), OperandFieldLocation.class);
		checkTextFound(addr(0x0100419a), OperandFieldLocation.class);
		checkTextFound(addr(0x0100419c), LabelFieldLocation.class);
		checkTextFound(addr(0x0100419f), OperandFieldLocation.class);
		checkTextFound(addr(0x010041a1), LabelFieldLocation.class);
		checkTextFound(addr(0x010041a4), LabelFieldLocation.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