### Question:
EdmxProvider extends EdmProvider { @Override public List<Schema> getSchemas() throws ODataException { return dataServices.getSchemas(); }  EdmxProvider parse(final InputStream in, final boolean validate); @Override EntityContainerInfo getEntityContainerInfo(final String name); @Override EntityType getEntityType(final FullQualifiedName edmFQName); @Override ComplexType getComplexType(final FullQualifiedName edmFQName); @Override Association getAssociation(final FullQualifiedName edmFQName); @Override EntitySet getEntitySet(final String entityContainer, final String name); @Override AssociationSet getAssociationSet(final String entityContainer, final FullQualifiedName association,
      final String sourceEntitySetName, final String sourceEntitySetRole); @Override FunctionImport getFunctionImport(final String entityContainer, final String name); @Override List<Schema> getSchemas(); @Override List<AliasInfo> getAliasInfos();  }### Answer:
@Test public void testSchema() throws Exception { EdmProvider testProvider = new EdmTestProvider(); Edm edm = createEdm(); assertNotNull(edm); EdmImplProv edmImpl = (EdmImplProv) edm; List<Schema> schemas = edmImpl.getEdmProvider().getSchemas(); List<Schema> testSchemas = testProvider.getSchemas(); assertEquals(testSchemas.size(), schemas.size()); if (!schemas.isEmpty() && !testSchemas.isEmpty()) { Schema schema = schemas.get(0); Schema testSchema = testSchemas.get(0); assertEquals(testSchema.getEntityContainers().size(), schema.getEntityContainers().size()); assertEquals(testSchema.getEntityTypes().size(), schema.getEntityTypes().size()); assertEquals(testSchema.getComplexTypes().size(), schema.getComplexTypes().size()); } }