@Test
	public void testPropertyInstructionIterator() throws Exception {
		startTransaction();
		addBlocks("ramblocktwo", "B2", addr(10000));
		addBlocks("ramblockthree", "B3", addr(21000));

		listing.clearCodeUnits(addr(0x3ef), addr(0x406), false);

		parseStatic(addr(1100), addr(1500));
		AddressSet set = new AddressSet(addr(0), addr(20));
		set.addRange(addr(1100), addr(1600));
		CodeUnitIterator iter =
			listing.getCodeUnitIterator(CodeUnit.INSTRUCTION_PROPERTY, set, true);
		CodeUnit cu = iter.next();
		assertNotNull(cu);
		assertEquals(addr(1100), cu.getMinAddress());

		cu = iter.next();
		assertNotNull(cu);
		assertEquals(addr(1102), cu.getMinAddress());

		cu = iter.next();
		assertNotNull(cu);
		assertEquals(addr(1104), cu.getMinAddress());

		endTransaction();
	}
** Diagnostic Aid ** Open program in tool
@throws Exception
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/code/CodeUnitIteratorTest.java