p.linkDataset( d1 ); p.linkDataset( d2 ); p.linkDataset( d3 ); d1.linkImage( i1 ); d1.linkImage( i2 ); d1.linkImage( i3 );
	protected void setUp() throws Exception {		mapper=new Model2PojosMapper(); 		p = new Project(new Long(1));		d1 = new Dataset(new Long(2));		d2 = new Dataset(new Long(3));		d3 = new Dataset(new Long(4));		i1 = new Image(new Long(5));		i2 = new Image(new Long(6));		i3 = new Image(new Long(7));//		p.setDatasets(new HashSet(Arrays.asList(new Dataset[]{d1,d2,d2})));//		d1.setImages(new HashSet(Arrays.asList(new Image[]{i1})));//		d2.setImages(new HashSet(Arrays.asList(new Image[]{i2})));//		d3.setImages(new HashSet(Arrays.asList(new Image[]{i3})));//		i1.setCreated(new Date());//		i2.setInserted(new Date());//		i1.setDatasets(new HashSet(Arrays.asList(new Dataset[]{d1})));//		i2.setDatasets(new HashSet(Arrays.asList(new Dataset[]{d2})));//		i3.setDatasets(new HashSet(Arrays.asList(new Dataset[]{d3})));	}