image.setURI( URI ); assertEquals( URI, image.getURI( ) );
	public void testImage( ) throws ScriptException	{		ImageHandle imageHandle = factory.newImage( IMAGE );		IImage image = new Image( imageHandle );		image.setHelpText( HELP_TEXT );		assertEquals( HELP_TEXT, image.getHelpText( ) );		image.setHelpTextKey( HELP_TEXT_KEY );		assertEquals( HELP_TEXT_KEY, image.getHelpTextKey( ) );		image.setImageName( IMAGE_NAME );		assertEquals( IMAGE_NAME, image.getImageName( ) );		image.setScale( 50.5 );		assertTrue( 50.5 == image.getScale( ) );		image.setSize( DesignChoiceConstants.IMAGE_SIZE_SCALE_TO_ITEM );		assertEquals( DesignChoiceConstants.IMAGE_SIZE_SCALE_TO_ITEM, image				.getSize( ) );		try		{			image.setSize( TEST );			fail( "\"test\" should not be a valid sizing method" );		}		catch ( ScriptException e )		{			// We want an exception here, since "test" should not be a valid			// sizing method		}		image.setSource( DesignChoiceConstants.IMAGE_REF_TYPE_URL );		assertEquals( DesignChoiceConstants.IMAGE_REF_TYPE_URL, image				.getSource( ) );		try		{			image.setSource( TEST );			fail( "\"test\" should not be a valid image source" );		}		catch ( ScriptException e )		{			// We want an exception here, since "test" should not be a valid			// image source		}		image.setTypeExpression( EXPRESSION );		assertEquals( EXPRESSION, image.getTypeExpression( ) );		image.setURI( URI );		assertEquals( URI, image.getURI( ) );		image.setValueExpression( VALUE_EXPRESSION );		assertEquals( VALUE_EXPRESSION, image.getValueExpression( ) );		image.setURL( IMAGE_URL );		assertEquals( IMAGE_URL, image.getURL( ) );		image.setFile( IMAGE_FILE );		assertEquals( IMAGE_FILE, image.getFile( ) );	}