Bug 303218 Active part no longer seems to be queryable from the application's context
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/EPartServiceTest.java
return new boolean[] { true,
								!throwException[0] && beforeDirty[1] };
					}
					return beforeDirty;
				}
				return new boolean[] { beforeDirty[0], false };
			} else if (returnValues[1] == Save.YES) {
				return new boolean[] { false, beforeDirty[1] };
			}
			return new boolean[] { false, false };
		}
		return beforeDirty;
	}
	private void testSaveAll(Save[] returnValues, boolean confirm,
			boolean[] beforeDirty, boolean[] throwException) {
		if (hasCancel(returnValues, beforeDirty) && confirm) {
			testSaveAll(returnValues, confirm, beforeDirty, beforeDirty, false,
					new boolean[] { false, false }, throwException);
		} else {
			testSaveAll(returnValues, confirm, beforeDirty, afterDirty(
					returnValues, confirm, beforeDirty, throwException),
					isSuccessful(returnValues, confirm, beforeDirty,
							throwException), saveCalled(returnValues, confirm,
							beforeDirty, throwException), throwException);
		}
	}
	public void testSaveAll_YY_True_TT_TT() {
		testSaveAll(new Save[] { Save.YES, Save.YES }, true, new boolean[] {
				true, true }, new boolean[] { true, true });
	}