@Test
public void esCompAllPrim() throws Exception {

  final DataProvider dataProvider = new DataProvider(oData, edm);
  
  EntityCollection outSet = dataProvider.readAll(esCompAllPrim);
  Assert.assertEquals(4, outSet.getEntities().size());
  Assert.assertEquals(2, outSet.getEntities().get(0).getProperties().size());
  Property complex = outSet.getEntities().get(0).getProperties().get(1);
  Assert.assertTrue(complex.isComplex());
  Assert.assertEquals(16, complex.asComplex().getValue().size());
  Assert.assertEquals(2, outSet.getEntities().get(1).getProperties().size());
  Assert.assertEquals(2, outSet.getEntities().get(2).getProperties().size());
}