function check() {
			let aExpectedRanks;
			switch (iMinRank) {
				case 2:
				case 3:
					aExpectedRanks
						= [6 + 23, 0, 1, iMinRank, 3 + 23, undefined, 0, 1, 4 + 23, 5 + 23];
					break;

				case 4:
					aExpectedRanks = [6 + 23, 0, 1, iMinRank, 3, undefined, 0, 1, 4 + 23, 5 + 23];
					break;

				case 5:
					aExpectedRanks = [6 + 23, 0, 1, iMinRank, 3, undefined, 0, 1, 4, 5 + 23];
					break;
				// no default
			}

			assert.deepEqual(oCache.aElements.map((oElement) => oElement["@$ui5._"].rank),
				aExpectedRanks);
		}
******************************************************************************************
[2, 3, 4, 5].forEach((iMinRank) => {
	QUnit.test(`shiftRank: oFirstLevel, iMinRank = ${iMinRank}`, function (assert) {
		const oCache = _AggregationCache.create(this.oRequestor, "Foo", "", {}, {
			hierarchyQualifier : "X"
		});
		oCache.aElements = [{
			"@$ui5._" : {parent : oCache.oFirstLevel, rank : 6}
		}, {
			"@$ui5._" : {parent : oCache.oFirstLevel, rank : 0}
		}, {
			"@$ui5._" : {parent : oCache.oFirstLevel, rank : 1}
		}, {
			"@$ui5._" : {parent : oCache.oFirstLevel, rank : iMinRank}
		}, {
			"@$ui5._" : {parent : oCache.oFirstLevel, rank : 3}
		}, {
			"@$ui5._" : {parent : oCache.oFirstLevel/*, rank : undefined