@Test
public void esCollAllPrim() throws Exception {

  final DataProvider dataProvider = new DataProvider(oData, edm);
  EntityCollection outSet = dataProvider.readAll(esCollAllPrim);
  Assert.assertEquals(3, outSet.getEntities().size());
  Assert.assertEquals(17, outSet.getEntities().get(0).getProperties().size());
  Property list = outSet.getEntities().get(0).getProperties().get(1);
  Assert.assertTrue(list.isCollection());
  Assert.assertEquals(3, list.asCollection().size());
  Assert.assertEquals(17, outSet.getEntities().get(1).getProperties().size());
  Assert.assertEquals(17, outSet.getEntities().get(2).getProperties().size());
}