public static final String NAMESPACE = "salesorderprocessing";
public static final String MAPPING_MODEL = "SalesOrderProcessingMappingModel";
public static final String PERSISTENCE_UNIT_NAME = "salesorderprocessing";
public static ODataJPAContext mockODataJPAContext() {
ODataJPAContext odataJPAContext = EasyMock.createMock(ODataJPAContext.class);
EasyMock.expect(odataJPAContext.getPersistenceUnitName()).andStubReturn(NAMESPACE);
EasyMock.expect(odataJPAContext.getEntityManagerFactory()).andReturn(mockEntityManagerFactory());
EasyMock.expect(odataJPAContext.getEntityManager()).andReturn(mockEntityManager());
EasyMock.expect(odataJPAContext.getJPAEdmMappingModel()).andReturn(MAPPING_MODEL);
EasyMock.expect(odataJPAContext.getJPAEdmExtension()).andReturn(null);
EasyMock.expect(odataJPAContext.getDefaultNaming()).andReturn(true);
EasyMock.replay(odataJPAContext);
return odataJPAContext;
}