public void testListPredicatesDoesntUseFind()
{
final boolean [] called = {false};
Graph g = Factory.createGraphMem();
ExtendedIterator<Node> predicates = g.queryHandler().predicatesFor( null, null );
Set<Node> s = CollectionFactory.createHashedSet();
while (predicates.hasNext()) s.add( predicates.next() );
assertFalse( "find should not have been called", called[0] );
}