protected void assertResultCount(int expected) {
		List<Address> referenceAddresses = getResultAddresses();
		if (referenceAddresses.size() != expected) {
			Msg.debug(this, "Result addresses found: " + referenceAddresses);
			fail("Incorrect number of results; see console");
		}
	}
A base class for use by tests that exercise various types of
{@link LocationDescriptor}.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/navigation/locationreferences/AbstractLocationReferencesTest.java