assertTrue(emptyColl,hb.findDatasetAnnotations(test,nonExp).size()==0); assertTrue(emptyColl,hb.findDatasetAnnotations(new HashSet(),nonExp).size()==0);
assertTrue(emptyColl,hb.findDatasetAnnotationsForExperimenter(test,nonExp).size()==0); assertTrue(emptyColl,hb.findDatasetAnnotationsForExperimenter(new HashSet(),nonExp).size()==0);
    public void testNulls(){        // Each method should return a null or an empty set as appropriate        //TODO hb.findCGCIHierarchies(	);                Set test = new HashSet();        test.add(new Integer(0)); // Non-existence set of ids        int nonExp = 0; // Non-existence experimenter ID        //        assertTrue(emptyColl,hb.findDatasetAnnotations(test).size()==0);        assertTrue(emptyColl,hb.findDatasetAnnotations(new HashSet()).size()==0);        //        assertTrue(emptyColl,hb.findDatasetAnnotations(test,nonExp).size()==0);        assertTrue(emptyColl,hb.findDatasetAnnotations(new HashSet(),nonExp).size()==0);        //        assertTrue(emptyColl,hb.findImageAnnotations(test).size()==0);        assertTrue(emptyColl,hb.findImageAnnotations(new HashSet()).size()==0);        //        assertTrue(emptyColl,hb.findImageAnnotations(test,nonExp).size()==0);        assertTrue(emptyColl,hb.findImageAnnotations(new HashSet(),nonExp).size()==0);        //        assertTrue(emptyColl,hb.findPDIHierarchies(test).size()==0);        assertTrue(emptyColl,hb.findPDIHierarchies(new HashSet()).size()==0);        //        assertNull(nullObj,hb.loadCGCIHierarchy(CategoryGroupData.class, 0));        assertNull(nullObj,hb.loadCGCIHierarchy(CategoryData.class, 0));        //        assertNull(nullObj,hb.loadPDIHierarchy(ProjectData.class, 0));        assertNull(nullObj,hb.loadPDIHierarchy(DatasetData.class, 0));    }