assertIteratorValues( model.listStatements( Bob, null, Dad ), new Statement[] {
ResourceFactory.createStatement( Bob, topObjProp, Dad ),
ResourceFactory.createStatement( Bob, hasParent, Dad ),
ResourceFactory.createStatement( Bob, hasFather, Dad ) } );
assertIteratorValues( model.listObjectsOfProperty( Bob, hasFather ), new Resource[] { Dad } );
assertIteratorValues( model.listObjectsOfProperty( Bob, hasMother ), new Resource[] { Mom } );
}
@Test