function testSwitchON(assert, oSwitch) {
		var mDomRefs = fnGetDomRefs(oSwitch.getId());
		var switchOnText = Library.getResourceBundleFor("sap.m").getText("SWITCH_ON");

		// assert
		assert.ok(oSwitch.$().hasClass("sapMSwtCont"), 'The switch container html element "must have" the css class "sapMSwtCont"');
		assert.ok(mDomRefs.$Swt.hasClass("sapMSwt"), 'The switch first-child html element "must have" the css class "sapMSwt"');
		assert.ok(mDomRefs.$Swt.hasClass("sapMSwtOn"), 'The switch first-child html element "must have" the css class "sapMSwtOn"');
		assert.ok(!mDomRefs.$Swt.hasClass("sapMSwtOff"), 'The switch first-child html element "must not have" the css class "sapMSwtOff"');

		if (oSwitch.getName()) {
			assert.strictEqual(mDomRefs.$Checkbox.attr("value"), switchOnText, 'The input checkbox is "On"');
			assert.strictEqual(mDomRefs.$Checkbox.attr("checked"), "checked", 'The input checkbox is "checked"');
		}

		assert.strictEqual(oSwitch.$("handle").attr("data-sap-ui-swt"), switchOnText, 'The switch handle "data-sap-ui-swt" attribute must have the value of "On"');
		assert.notOk(oSwitch.$("invisible").text(), "There is no additional default description of the 'On' state");

		if (oSwitch.getEnabled()) {
			assert.equal(oSwitch.$().attr("tabindex"), 0, 'The switch "tabindext" attribute must have the value of "0"');
		} else {
			assert.ok(oSwitch.$().attr("tabindex"), 'The "tabindex" attribute of the switch is not rendered');
		}

		testSwitchEnabled(assert, oSwitch);
	}
Test switch ON
@param {object} assert the QUnit assert object
@param {sap.m.Switch} oSwitch the switch control