* @throws Exception
*/
@Test
public void asListForPolyModel() throws Exception {
DatastoreUtil.put(ds, null, AaaMeta.get().modelToEntity(new Aaa()));
DatastoreUtil.put(ds, null, BbbMeta.get().modelToEntity(new Bbb()));
DatastoreUtil.put(ds, null, CccMeta.get().modelToEntity(new Ccc()));
ModelQuery<Aaa> query = new ModelQuery<Aaa>(ds, aaaMeta);
List<Aaa> list = query.asList();
assertThat(list.size(), is(3));