@Test
	public void testMoveCodeUnits() throws NotFoundException {
		// 
		// move all from f1 to f2
		f2.move(f1.getMinAddress(), f1.getMaxAddress());
		assertNull(f1.getMinAddress());
		assertEquals(0, f1.getNumAddresses());

		// test for Empty
		assertTrue(f1.isEmpty());
	}
Test getting a code unit iterator over a fragment.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/module/FragmentTest.java