assertEquals( fileImage, action.elementHandle );
assertEquals( fileImage, action.getElementHandle( ) );
	public void testGetImageProperties( )	{		ImageHandle imageHandle = (ImageHandle) designHandle.findMasterPage(				"My Page" ).getSlot( 0 ).get( 5 ); //$NON-NLS-1$		assertNotNull( imageHandle );		assertEquals( DesignChoiceConstants.IMAGE_REF_TYPE_FILE, imageHandle				.getSource( ) );		// get the actionHandle		ActionHandle action = fileImage.getActionHandle( );		assertNotNull( action );		assertEquals( fileImage, action.elementHandle );		IChoice choiceList[] = fileImage.getChoices( ImageItem.SIZE_PROP );		assertEquals( 3, choiceList.length );		assertNotNull( fileImage.getColorProperty( Style.BACKGROUND_COLOR_PROP ) );		assertEquals( "green", fileImage.getExtends( ).getProperty( //$NON-NLS-1$				Style.BACKGROUND_COLOR_PROP ) );		assertEquals( "newImage", fileImage.getExtends( ).getName( ) ); //$NON-NLS-1$		assertEquals( design.findPage( "My Page" ), fileImage.getContainer( ) ); //$NON-NLS-1$		assertEquals( 0, fileImage.getContainerSlotHandle( ).slotID );		DimensionHandle dh = fileImage				.getDimensionProperty( ImageItem.WIDTH_PROP );		assertNotNull( dh );		dh = fileImage.getHeight( );		assertNotNull( dh );		// get the display label		assertEquals( "Image1", fileImage.getDisplayLabel( ) ); //$NON-NLS-1$		// get the extends		assertEquals( designHandle.getComponents( ).get( 0 ), fileImage				.getExtends( ) );	}