function withFakeService(assert, oLogMock, vAnnotationUrl, fnCodeUnderTest) {
		oLogMock.expects("warning")
			.withExactArgs("Inconsistent service",
				"Use either 'sap:deletable' or 'sap:deletable-path' at entity set 'ProductSet'",
				sComponent);
		oLogMock.expects("warning")
			.withExactArgs("Inconsistent service",
				"Use either 'sap:updatable' or 'sap:updatable-path' at entity set 'ProductSet'",
				sComponent);

		return withGivenService(assert, "/fake/service", vAnnotationUrl, fnCodeUnderTest);
	}
/**
	 * Runs the given code under test with an <code>ODataMetaModel</code> for the service URL
	 * "/fake/service" and the given (array of) annotation URLs.
	 *
	 * @param {object} assert the assertions
	 * @param {object} oLogMock the log mock
	 * @param {string|string[]} vAnnotationUrl
	 *   the (array of) annotation URLs
	 * @param {function(sap.ui.model.odata.ODataMetaModel)} fnCodeUnderTest
	 *   the given code under test
	 * @returns {any|Promise}
	 *   (a promise to) whatever <code>fnCodeUnderTest</code> returns
	 */
Runs the given code under test with an ODataMetaModel for the service URL
"/fake/service" and the given (array of) annotation URLs.


Runs the given code under test with an ODataMetaModel for the service URL " / fake / service " and the given ( array of ) annotation URLs .
function withFakeService(assert, oLogMock, vAnnotationUrl, fnCodeUnderTest) {
		oLogMock.expects("warning")
			.withExactArgs("Inconsistent service",
				"Use either 'sap:deletable' or 'sap:deletable-path' at entity set 'ProductSet'",
				sComponent);
		oLogMock.expects("warning")
			.withExactArgs("Inconsistent service",
				"Use either 'sap:updatable' or 'sap:updatable-path' at entity set 'ProductSet'",
				sComponent);
		return withGivenService(assert, "/fake/service", vAnnotationUrl, fnCodeUnderTest);
	}
function withFakeService ( assert , oLogMock , vAnnotationUrl , fnCodeUnderTest ) { oLogMock . expects ( "warning" ) . withExactArgs ( "Inconsistent service" , "Use either 'sap:deletable' or 'sap:deletable-path' at entity set 'ProductSet'" , sComponent ) ; oLogMock . expects ( "warning" ) . withExactArgs ( "Inconsistent service" , "Use either 'sap:updatable' or 'sap:updatable-path' at entity set 'ProductSet'" , sComponent ) ; return withGivenService ( assert , "/fake/service" , vAnnotationUrl , fnCodeUnderTest ) ; }
Runs the given code under test with an <code>ODataMetaModel</code> for the service URL
 "/fake/service" and the given (array of) annotation URLs.
Runs the given code under test with an <code > ODataMetaModel< / code > for the service URL " / fake / service " and the given ( array of ) annotation URLs .