/** * Run the void setStandardResolution(ImageData) method test. * * @throws Exception */ @Test public void testSetStandardResolution() throws Exception { Images fixture = new Images(); fixture.setThumbnail(new ImageData()); fixture.setLowResolution(new ImageData()); fixture.setStandardResolution(new ImageData()); ImageData standardResolution = new ImageData(); fixture.setStandardResolution(standardResolution); // add additional test code here }
/** * Run the String toString() method test. * * @throws Exception */ @Test public void testToString() throws Exception { Images fixture = new Images(); fixture.setThumbnail(new ImageData()); fixture.setLowResolution(new ImageData()); fixture.setStandardResolution(new ImageData()); String result = fixture.toString(); // add additional test code here assertEquals( "Images [lowResolution=ImageData [imageHeight=0, imageUrl=null, imageWidth=0], standardResolution=ImageData [imageHeight=0, imageUrl=null, imageWidth=0], thumbnail=ImageData [imageHeight=0, imageUrl=null, imageWidth=0]]", result); }
/** * Run the ImageData getThumbnail() method test. * * @throws Exception */ @Test public void testGetThumbnail() throws Exception { Images fixture = new Images(); fixture.setThumbnail(new ImageData()); fixture.setLowResolution(new ImageData()); fixture.setStandardResolution(new ImageData()); ImageData result = fixture.getThumbnail(); // add additional test code here assertNotNull(result); assertEquals("ImageData [imageHeight=0, imageUrl=null, imageWidth=0]", result.toString()); assertEquals(null, result.getImageUrl()); assertEquals(0, result.getImageHeight()); assertEquals(0, result.getImageWidth()); }