function checkCanceled(assert, oPromise) {
		return oPromise.then(mustFail(assert), function (oError) {
			assert.ok(oError instanceof Error && oError.canceled, "canceled error expected");
		});
	}
Checks that the given promise is rejected with a cancellation error.

@param {object} assert - The QUnit assert object
@param {Promise} oPromise - The promise to be checked
@returns {Promise} A promise that resolves after the check is done