private void verifyContextRanges(long min, long max, String regName,
			ContextRangeValue... valueRanges) {
		Register fctxReg = program.getRegister(regName);
		ProgramContext programContext = program.getProgramContext();
		AddressRangeIterator ranges =
			programContext.getRegisterValueAddressRanges(fctxReg, addr(min), addr(max));
		for (ContextRangeValue valueRange : valueRanges) {
			assertTrue(ranges.hasNext());
			AddressRange range = ranges.next();
			assertEquals(valueRange.startOffset, range.getMinAddress().getOffset());
			assertEquals(valueRange.endOffset, range.getMaxAddress().getOffset());
			BigInteger val = programContext.getValue(fctxReg, range.getMinAddress(), false);
			assertNotNull("Expected flow context at " + range.getMinAddress());
			assertEquals(valueRange.value, val.longValue());
		}
		assertFalse(ranges.hasNext());
	}
** Diagnostic Aid ** Dump context register values
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/disassemble/DisassemblerTest.java