function setExpectation() {
			oExpectation = that.mock(oContext).expects("requestSideEffectsInternal")
				// Note: $select not yet sorted
				.withExactArgs(sinon.match.same(aFilteredPaths), sGroupId)
				.returns(SyncPromise.resolve({}));
			that.mock(oModel).expects("requestSideEffects")
				.withExactArgs(sGroupId, aAbsolutePaths)
				.returns(SyncPromise.resolve({}));
		}
******************************************************************************************
	QUnit.test("requestSideEffects: error cases 1/2", function (assert) {
		var oBinding = {
				checkSuspended : function () {},
				isResolved : function () { return true; }
			},
			oMetaModel = {
				getObject : mustBeMocked
			},
			oModel = {
				getMetaModel : function () { return oMetaModel; }
			},
			oContext = Context.create(oModel, oBinding, "/EMPLOYEES('42')");

		assert.throws(function () {
			// code under test
			oContext.requestSideEffects();
		}, new Error("Missing edm:(Navigation)PropertyPath expressions"));

		assert.throws(function () {
			// code under test
			oContext.requestSideEffects([]);
		}, new Error("Missing edm:(Navigation)PropertyPath expressions"));

		this.mock(oMetaModel).expects("getObject").withExactArgs("/$EntityContainer")
			.returns(undefined);

		assert.throws(function () {
			// code under test
			oContext.requestSideEffects([""]);
		}, new Error("Missing metadata"));
	});

	//*********************************************************************************************
	QUnit.test("requestSideEffects: error cases 2/2", function (assert) {
		var oBinding = {
				checkSuspended : function () {},
				isResolved : function () { return true; }
			},
			oMetaModel = {
				getObject : function (sPath) {
					assert.strictEqual(sPath, "/$EntityContainer");
					return "~container~";
				}
			},
			oModel = {
				getMetaModel : function () { return oMetaModel; }
			},
			oContext = Context.create(oModel, oBinding, "/EMPLOYEES('42')");

		[
			undefined,
			"fo*o",
			"fo*o/*",
			{},
			{$AnnotationPath : "foo"},
			{$If : [true, {$PropertyPath : "TEAM_ID"}]}, // "a near miss" ;-)
			{$PropertyPath : ""},
			{$PropertyPath : "foo*"},
			{$PropertyPath : "foo