### Question:
ODataJPAEdmProvider extends EdmProvider { @Override public List<Schema> getSchemas() throws ODataException { if (schemas == null && jpaEdmModel != null) { jpaEdmModel.getBuilder().build(); schemas = new ArrayList<Schema>(); schemas.add(jpaEdmModel.getEdmSchemaView().getEdmSchema()); } if (jpaEdmModel == null) { throw ODataJPAModelException.throwException(ODataJPAModelException.BUILDER_NULL, null); } return schemas; } ODataJPAEdmProvider();  ODataJPAEdmProvider(final ODataJPAContext oDataJPAContext); ODataJPAContext getODataJPAContext(); void setODataJPAContext(final ODataJPAContext jpaContext); @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();  }### Answer:
@Test public void testGetSchemas() { try { assertNotNull(edmProvider.getSchemas()); } catch (ODataException e) { fail(ODataJPATestConstants.EXCEPTION_MSG_PART_1 + e.getMessage() + ODataJPATestConstants.EXCEPTION_MSG_PART_2); } }