function check(assert, vRawValue, vResult, oMetaModel, oModel) {
		var oContext = new BaseContext(oMetaModel, "/"),
			// code under test
			sText = AnnotationHelper.value(vRawValue, {context : oContext}),
			oInvisibleText = new InvisibleText({text : sText, models : oModel});

		oInvisibleText.bindObject("/");
		assert.strictEqual(oInvisibleText.getText(),
			oInvisibleText.validateProperty("text", vResult),
			JSON.stringify(vRawValue) + " --> " + sText);
	}
/**
	 * Checks that the given raw value is turned by <code>AnnotationHelper.value</code> into a value
	 * that a control is able to evaluate into the given expected result.
	 *
	 * @param {object} assert
	 *   QUnit's <code>assert</code>
	 * @param {any} vRawValue
	 *   Any raw value from the meta model
	 * @param {any} vResult
	 *   The expected result
	 * @param {sap.ui.model.odata.v4.ODataMetaModel} [oMetaModel]
	 *   Optional meta model (or dummy)
	 * @param {sap.ui.model.Model} [oModel]
	 *   Optional model (in case bindings are involved)
	 */
Checks that the given raw value is turned by AnnotationHelper.value into a value
that a control is able to evaluate into the given expected result.


Checks that the given raw value is turned by AnnotationHelper . value into a value that a control is able to evaluate into the given expected result .
function check(assert, vRawValue, vResult, oMetaModel, oModel) {
		var oContext = new BaseContext(oMetaModel, "/"),
			sText = AnnotationHelper.value(vRawValue, {context : oContext}),
			oInvisibleText = new InvisibleText({text : sText, models : oModel});
		oInvisibleText.bindObject("/");
		assert.strictEqual(oInvisibleText.getText(),
			oInvisibleText.validateProperty("text", vResult),
			JSON.stringify(vRawValue) + " --> " + sText);
	}
function check ( assert , vRawValue , vResult , oMetaModel , oModel ) { var oContext = new BaseContext ( oMetaModel , "/" ) , sText = AnnotationHelper . value ( vRawValue , { context : oContext } ) , oInvisibleText = new InvisibleText ( { text : sText , models : oModel } ) ; oInvisibleText . bindObject ( "/" ) ; assert . strictEqual ( oInvisibleText . getText ( ) , oInvisibleText . validateProperty ( "text" , vResult ) , JSON . stringify ( vRawValue ) + " --> " + sText ) ; }
Checks that the given raw value is turned by <code>AnnotationHelper.value</code> into a value
 that a control is able to evaluate into the given expected result.
Checks that the given raw value is turned by <code > AnnotationHelper . value< / code > into a value that a control is able to evaluate into the given expected result .
// code under test