List imgIds = cat.collectFromImageLinks( new IdBlock() );
List imgIds = cat.eachLinkedImage( new IdBlock() );
    private void check_ci_ids(List ids)    {        for (Category cat: (List<Category>) list)        {            List imgIds = cat.collectFromImageLinks( new IdBlock() );            assertTrue( "And our images weren't there",                     imgIds.containsAll( ids ));        }    }