Bug 338707 Reconciler chokes on elements under parents that have been removed from the model
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/reconciler/ModelReconcilerScenarioTest.java
assertEquals(partC, children.get(1));
		assertEquals(partD, children.get(2));
	}
	/**
	 * <ol>
	 * <li>Initially, the application has two parts, A and B.</li>
	 * <li>The user removes both parts A and B.</li>
	 * <li>Later, the application is defined as having three parts, A, B, and C.
	 * </li>
	 * <li>The merged outcome should be only one part, part C.</li>
	 * </ol>
	 */
	public void testPart_Addition_PlacedAfterRemovedPart_UserWins2() {
		MApplication application = createApplication();
		MWindow window = createWindow(application);
		MPart partA = BasicFactoryImpl.eINSTANCE.createPart();
		MPart partB = BasicFactoryImpl.eINSTANCE.createPart();
		window.getChildren().add(partA);
		window.getChildren().add(partB);
		saveModel();
		ModelReconciler reconciler = createModelReconciler();
		reconciler.recordChanges(application);
		window.getChildren().remove(partA);
		window.getChildren().remove(partB);
		Object serializedState = reconciler.serialize();
		application = createApplication();
		window = application.getChildren().get(0);
		partA = (MPart) window.getChildren().get(0);
		partB = (MPart) window.getChildren().get(1);
		MPart partC = BasicFactoryImpl.eINSTANCE.createPart();