@Test
	public void testApi_SearchByRangeWithMask() {
		InstructionSearchApi api = new InstructionSearchApi();

		AddressFactory addressFactory = program.getAddressFactory();
		Address min = addressFactory.getAddress("004065e2");
		Address max = addressFactory.getAddress("004065e2");
		AddressSet addrSet = addressFactory.getAddressSet(min, max);

		MaskSettings maskSettings = new MaskSettings(true, true, true);

		try {
			List<Address> results = api.search(program, addrSet.getFirstRange(), maskSettings);
			assertEquals(results.size(), 2);
		}
		catch (InvalidInputException e) {
			failWithException("Unexpected", e);
		}
	}
Tests the external API method that searches for an instruction with masking, to return
multiple results.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java