Bug 327980 Part activation history should not be perspective-dependent
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/EPartServiceTest.java
window.getChildren().add(perspectiveStack);
		window.setSelectedElement(perspectiveStack);
		MPerspective perspective = AdvancedFactoryImpl.eINSTANCE
				.createPerspective();
		perspectiveStack.getChildren().add(perspective);
		perspectiveStack.setSelectedElement(perspective);
		MPartStack stackA = BasicFactoryImpl.eINSTANCE.createPartStack();
		perspective.getChildren().add(stackA);
		perspective.setSelectedElement(stackA);
		MPart partA = BasicFactoryImpl.eINSTANCE.createPart();
		stackA.getChildren().add(partA);
		stackA.setSelectedElement(partA);
		MPlaceholder areaPlaceholder = AdvancedFactoryImpl.eINSTANCE
				.createPlaceholder();
		areaPlaceholder.setRef(area);
		area.setCurSharedRef(areaPlaceholder);
		perspective.getChildren().add(areaPlaceholder);
		MPartStack stackB = BasicFactoryImpl.eINSTANCE.createPartStack();
		area.getChildren().add(stackB);
		area.setSelectedElement(stackB);
		MPartStack stackC = BasicFactoryImpl.eINSTANCE.createPartStack();
		area.getChildren().add(stackC);
		MPart partB = BasicFactoryImpl.eINSTANCE.createPart();
		stackB.getChildren().add(partB);
		stackB.setSelectedElement(partB);
		MPart partC = BasicFactoryImpl.eINSTANCE.createPart();
		stackC.getChildren().add(partC);
		stackC.setSelectedElement(partC);
		initialize(applicationContext, application);
		getEngine().createGui(window);