testODataAPI = function (path, expectedURL, assert, test, testedAPI, parameters) {
				return function () {
					return new Promise(function (res, rej) {
						parameters = Object.assign({}, parameters, {canonicalRequest: oVariant.APICallParameter});
						if (testedAPI === "update" || testedAPI === "create" ){
							test.oModel[testedAPI](path, {}, parameters);
						} else {
							test.oModel[testedAPI](path, parameters);
						}

						var fnRequestCompleted = function (oEvent) {
							test.oModel.detachRequestCompleted(fnRequestCompleted);
							var oRelevantRequest = getLastRequest(test);
							var sMessageScopeHeader = oRelevantRequest["headers"]["sap-message-scope"];
							assert.equal(sMessageScopeHeader, MessageScope.BusinessObject);
							assert.equal(oRelevantRequest.deepPath, path, "Deep path set correctly.");
							assert.equal(oEvent.getParameters().url.split("?")[0], expectedURL, "ODatamodel." + testedAPI + " - requestedPath:" + path);

							res();
						};

						test.oModel.attachRequestCompleted(fnRequestCompleted);
					});
				};
			}
@param {string} path API call path
@param {string} expectedURL expected send URL
@param {object} assert QUnit assert
@param {object} test QUnit test
@param {string} testedAPI