daoUtils.verify(); daoUtils.reset();
    public void testAnnotationsWithVariousIdSets(){        /*         * Image Anns; No Experimenter          */                // Arguments        Integer id = new Integer(1);        Set ids = new HashSet();        ids.add(id);                // Return value        ImageAnnotation an = new ImageAnnotation();        Image img = new Image();        img.setImageId(id);        an.setImage(img);        List result = new ArrayList();        result.add(an);        // Run        annotationDao.expects(once()).method("findImageAnnotations").with(same(ids)).will(returnValue(result));        Map map = manager.findImageAnnotations(ids	);        for (Iterator i = map.keySet().iterator(); i.hasNext();) {            Integer key = (Integer) i.next();            assertTrue("Key should be in our ids set.",ids.contains(key));        }        annotationDao.verify();        annotationDao.reset();    }