//---------------------------------------------------------------------------------------------------------
// Retrieve Descendant class
//---------------------------------------------------------------------------------------------------------
QueryManager queryManager = ocm.getQueryManager();
Filter filter = queryManager.createFilter(Descendant.class);
Query query = queryManager.createQuery(filter);
Collection result = ocm.getObjects(query);
assertEquals("Invalid number of Descendant found", result.size(), 4);
assertTrue("Invalid item in the collection", this.contains(result, "/descendant1", Descendant.class));
assertTrue("Invalid item in the collection", this.contains(result, "/descendant2", Descendant.class));