function testBinding(assert, oCurrentContext, vExpected, oModelData) {
		var oModel = new JSONModel(oModelData),
			oControl = new TestControl({
				models : oModel,
				bindingContexts : oModel.createBindingContext("/")
			}),
			oRawValue = oCurrentContext.getObject(),
			sBinding = format(oRawValue, oCurrentContext),
			oSingleBindingInfo = parse(sBinding);

		oControl.bindProperty("text", oSingleBindingInfo);
		assert.strictEqual(oControl.getText(), vExpected, sBinding);
	}
/**
	 * Tests that the raw value for the given context actually leads to the expected binding.
	 *
	 * @param {object} assert the assertions
	 * @param {sap.ui.model.Context} oCurrentContext
	 *   the context pointing to the raw value
	 * @param {any} vExpected
	 *   the expected result from binding the <code>format</code> result against the model
	 * @param {object} oModelData
	 *   the data for the JSONModel to bind to
	 */
Tests that the raw value for the given context actually leads to the expected binding.
@param {object} assert the assertions
@param {sap.ui.model.Context} oCurrentContext
the context pointing to the raw value
@param {any} vExpected
the expected result from binding the format result against the model
@param {object} oModelData
the data for the JSONModel to bind to
Tests that the raw value for the given context actually leads to the expected binding . @param { object } assert the assertions @param { sap . ui . model . Context } oCurrentContext the context pointing to the raw value @param { any } vExpected the expected result from binding the format result against the model @param { object } oModelData the data for the JSONModel to bind to
function testBinding(assert, oCurrentContext, vExpected, oModelData) {
		var oModel = new JSONModel(oModelData),
			oControl = new TestControl({
				models : oModel,
				bindingContexts : oModel.createBindingContext("/")
			}),
			oRawValue = oCurrentContext.getObject(),
			sBinding = format(oRawValue, oCurrentContext),
			oSingleBindingInfo = parse(sBinding);
		oControl.bindProperty("text", oSingleBindingInfo);
		assert.strictEqual(oControl.getText(), vExpected, sBinding);
	}
function testBinding ( assert , oCurrentContext , vExpected , oModelData ) { var oModel = new JSONModel ( oModelData ) , oControl = new TestControl ( { models : oModel , bindingContexts : oModel . createBindingContext ( "/" ) } ) , oRawValue = oCurrentContext . getObject ( ) , sBinding = format ( oRawValue , oCurrentContext ) , oSingleBindingInfo = parse ( sBinding ) ; oControl . bindProperty ( "text" , oSingleBindingInfo ) ; assert . strictEqual ( oControl . getText ( ) , vExpected , sBinding ) ; }
Tests that the raw value for the given context actually leads to the expected binding.
Tests that the raw value for the given context actually leads to the expected binding .