@Test
public void testLoadCoreVocabulary() throws Exception {

  MetadataParser parser = new MetadataParser();
  parser.implicitlyLoadCoreVocabularies(true);
  parser.referenceResolver(testReferenceResolver);
  SchemaBasedEdmProvider provider = parser.buildEdmProvider(new FileReader("src/test/resources/test.xml"));
  Assert.assertNotNull(provider.getVocabularySchema("Org.OData.Core.V1"));
  Assert.assertNotNull(provider.getSchema("Org.OData.Core.V1"));
}