function executeTest(sCurrentTitle, aExpectedResultHandlerCalls, bSorted) {
			QUnit.test(sCurrentTitle, function (assert) {
				var fnResultHandlerSpy = this.spy(),
					oRequestor = {};

				asV2Requestor(oRequestor);

				// code under test
				oRequestor.doConvertSystemQueryOptions("/Foo", oFixture.queryOptions,
					fnResultHandlerSpy, oFixture.dropSystemQueryOptions, bSorted);

				assert.strictEqual(fnResultHandlerSpy.callCount,
					aExpectedResultHandlerCalls.length);
				aExpectedResultHandlerCalls.forEach(function (oResult, i) {
					var sCurrentKey = fnResultHandlerSpy.args[i][0],
						sCurrentValue = fnResultHandlerSpy.args[i][1];

					assert.strictEqual(sCurrentKey + "=" + sCurrentValue,
							oResult.key + "=" + oResult.value);
				});

			});
		}
/*
		 * Executes the test for doConvertSystemQueryOptions.
		 *
		 * @param {string} sCurrentTitle The test title
		 * @param {object[]} aExpectedResultHandlerCalls An array of expected result handler calls.
		 *   Each array element is an object with a key and a value property.
		 * @param {boolean} bSorted Indicates whether to sort the $expand and $select entries
		 */
Executes the test for doConvertSystemQueryOptions.
@param {string} sCurrentTitle The test title
@param {object[]} aExpectedResultHandlerCalls An array of expected result handler calls.
Each array element is an object with a key and a value property.
@param {boolean} bSorted Indicates whether to sort the $expand and $select entries
Executes the test for doConvertSystemQueryOptions . @param { string } sCurrentTitle The test title @param { object [] } aExpectedResultHandlerCalls An array of expected result handler calls . Each array element is an object with a key and a value property . @param { boolean } bSorted Indicates whether to sort the $expand and $select entries
function executeTest(sCurrentTitle, aExpectedResultHandlerCalls, bSorted) {
			QUnit.test(sCurrentTitle, function (assert) {
				var fnResultHandlerSpy = this.spy(),
					oRequestor = {};
				asV2Requestor(oRequestor);
				oRequestor.doConvertSystemQueryOptions("/Foo", oFixture.queryOptions,
					fnResultHandlerSpy, oFixture.dropSystemQueryOptions, bSorted);
				assert.strictEqual(fnResultHandlerSpy.callCount,
					aExpectedResultHandlerCalls.length);
				aExpectedResultHandlerCalls.forEach(function (oResult, i) {
					var sCurrentKey = fnResultHandlerSpy.args[i][0],
						sCurrentValue = fnResultHandlerSpy.args[i][1];
					assert.strictEqual(sCurrentKey + "=" + sCurrentValue,
							oResult.key + "=" + oResult.value);
				});
			});
		}
function executeTest ( sCurrentTitle , aExpectedResultHandlerCalls , bSorted ) { QUnit . test ( sCurrentTitle , function ( assert ) { var fnResultHandlerSpy = this . spy ( ) , oRequestor = { } ; asV2Requestor ( oRequestor ) ; oRequestor . doConvertSystemQueryOptions ( "/Foo" , oFixture . queryOptions , fnResultHandlerSpy , oFixture . dropSystemQueryOptions , bSorted ) ; assert . strictEqual ( fnResultHandlerSpy . callCount , aExpectedResultHandlerCalls . length ) ; aExpectedResultHandlerCalls . forEach ( function ( oResult , i ) { var sCurrentKey = fnResultHandlerSpy . args [ i ] [ 0 ] , sCurrentValue = fnResultHandlerSpy . args [ i ] [ 1 ] ; assert . strictEqual ( sCurrentKey + "=" + sCurrentValue , oResult . key + "=" + oResult . value ) ; } ) ; } ) ; }
Executes the test for doConvertSystemQueryOptions.
Executes the test for doConvertSystemQueryOptions .
// code under test