List datasetIds = prj.collectFromDatasetLinks( new IdBlock() );
List datasetIds = prj.eachLinkedDataset( new IdBlock() );
    private void check_pd_ids(List ids)    {        for (Project prj : (List<Project>) list)        {            List datasetIds = prj.collectFromDatasetLinks( new IdBlock() );            assertTrue( "And our datasets weren't there",                     datasetIds.containsAll( ids ));        }    }