@Test
	public void testFunctionOnlyInP2() throws Exception {
		// In p2 and not in p1.
		int transactionID = p1.startTransaction("Test Transaction");
		p1.getFunctionManager().removeFunction(addr(0x10030d2));
		p1.endTransaction(transactionID, true);
	
		programDiff = new ProgramDiff(p1, p2);
		programDiff.setFilter(new ProgramDiffFilter(ProgramDiffFilter.FUNCTION_DIFFS));
		assertEquals(new AddressSet(addr(0x10030d2), addr(0x10030d2)),
			programDiff.getDifferences(programDiff.getFilter(), null));
	}
Test that ProgramDiff can determine there is a function difference when
the function is only in Program2.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/util/ProgramDiff3Test.java