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
MKeyBinding keyBinding = CommandsFactoryImpl.eINSTANCE
				.createKeyBinding();
		keyBinding.setCommand(command);
		keyBinding.setKeySequence(originalApplicationKeyBindingSequence);
		MKeyBinding keyBinding2 = CommandsFactoryImpl.eINSTANCE
				.createKeyBinding();
		keyBinding2.setCommand(command);
		keyBinding2.setKeySequence(originalWindowKeyBindingSequence);
		bindingTable.getBindings().add(keyBinding);
		bindingTable2.getBindings().add(keyBinding2);
		saveModel();
		ModelReconciler reconciler = createModelReconciler();
		reconciler.recordChanges(application);
		keyBinding.setKeySequence(userApplicationKeyBindingSequence);
		keyBinding2.setKeySequence(userWindowKeyBindingSequence);
		Object state = reconciler.serialize();
		application = createApplication();
		bindingTable = application.getBindingTables().get(0);
		bindingTable2 = application.getBindingTables().get(1);
		command = application.getCommands().get(0);
		keyBinding = bindingTable.getBindings().get(0);
		keyBinding2 = bindingTable2.getBindings().get(0);
		Collection<ModelDelta> deltas = constructDeltas(application, state);
		assertEquals(originalApplicationKeyBindingSequence,
				keyBinding.getKeySequence());
		assertEquals(originalWindowKeyBindingSequence,
				keyBinding2.getKeySequence());
		applyAll(deltas);
		assertEquals(userApplicationKeyBindingSequence,
				keyBinding.getKeySequence());