@Test
public void testSetSrc() throws Exception {

  SwingImage img = (SwingImage) doc.getElementById( "img_dimed" );
  assertEquals( "testImage.png", img.getSrc() );
  Image newImg =
      new ImageIcon( ImageHandler.class.getClassLoader().getResource( "documents/testImage2.png" ) )
          .getImage();
  img.setSrc( newImg );
}