private void assertUndefinedRegValue(String registerName, Address address) {
		ProgramContext pc = resultProgram.getProgramContext();
		Register reg = pc.getRegister(registerName);
		BigInteger actualValue = pc.getValue(reg, address, false);
		if (actualValue != null) {
			Assert.fail("Register value of 0x" + actualValue.toString(16) +
				" was unexpectedly defined for " + registerName + " at " + address.toString() +
				".");
		}
	}
Fails test if the register does not have an undefined value at the indicated address.
@param registerName name of the register
@param address the address to check
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/ProgramContextMergeManagerTest.java