function testAnnotationConversion(assert, sXmlSnippet, oExpected) {
		var oXML = xml(assert, sEdmx + '<edmx:DataServices m:DataServiceVersion="2.0">'
				+ '<Schema Namespace="GWSAMPLE_BASIC">' + sXmlSnippet
				+ "</Schema></edmx:DataServices></edmx:Edmx>"),
			oResult = new _V2MetadataConverter().convertXMLMetadata(oXML, "/foo/bar/$metadata");

		assert.deepEqual(oResult["GWSAMPLE_BASIC."].$Annotations, oExpected);

		// code under test ("ignoreAnnotationsFromMetadata")
		oResult = new _V2MetadataConverter().convertXMLMetadata(oXML, "/foo/bar/$metadata", true);

		assert.deepEqual(oResult["GWSAMPLE_BASIC."].$Annotations, {});
	}
Tests that the given XML snippet produces the expected annotations.
@param {object} assert
  QUnit's assert
@param {string} sXmlSnippet
  the XML snippet; it will be inserted below an element <Schema Namespace="GWSAMPLE_BASIC">
@param {object} oExpected
  the expected annotations as JSON object