fontHandle = style1.getHandle( design ).getFontProperty( );
fontHandle = style1.getFontFamilyHandle( );
	public void testSetValue( ) throws Exception	{		StyleElement myStyle = design.findStyle( "My Style" ); //$NON-NLS-1$		assertNotNull( myStyle );		fontHandle = myStyle.getHandle( design ).getFontProperty( );		ThreadResources.setLocale( new ULocale( "am", "ET" ) ); //$NON-NLS-1$ //$NON-NLS-2$		fontHandle.setValue( DesignChoiceConstants.FONT_FAMILY_SANS_SERIF );		//  tests with the font entry at a given position, should be null.		StyleElement style1 = design.findStyle( "Style1" ); //$NON-NLS-1$		assertNotNull( style1 );		fontHandle = style1.getHandle( design ).getFontProperty( );		// tests sets/gets CSS constant names.		fontHandle.setValue( DesignChoiceConstants.FONT_FAMILY_SANS_SERIF );		assertEquals( DesignChoiceConstants.FONT_FAMILY_SANS_SERIF, fontHandle				.getStringValue( ) );		ThreadResources.setLocale( TEST_LOCALE  );  //$NON-NLS-1$		// tests sets/gets user string names.		fontHandle.setValue( "\u8fde\u4f53" ); //$NON-NLS-1$		assertEquals( DesignChoiceConstants.FONT_FAMILY_CURSIVE, fontHandle				.getStringValue( ) );		Style style2 = (Style) design.findStyle( "Style2" ); //$NON-NLS-1$		assertNotNull( style2 );		fontHandle = style2.getHandle( design ).getFontProperty( );		//  tests with the font entry at a given position.		fontHandle.setValue( "cursive, sans-serif, hello" ); //$NON-NLS-1$		//  tests with the font weight.		StyleHandle style2Handle = style2.handle( design );		assertNotNull( style2Handle );		style2Handle.setFontWeight( DesignChoiceConstants.FONT_WEIGHT_100 );		assertEquals( DesignChoiceConstants.FONT_WEIGHT_100, style2Handle				.getFontWeight( ) );		// write a font family and weight property to a structure like		// highlight.		Iterator highlightHandles = style2.handle( design )				.highlightRulesIterator( );		assertNotNull( highlightHandles );		HighlightRuleHandle highlightHandle = (HighlightRuleHandle) highlightHandles				.next( );		assertNotNull( highlightHandle );		fontHandle = highlightHandle.getFontFamilyHandle( );		fontHandle.setValue( DesignChoiceConstants.FONT_FAMILY_FANTASY );		highlightHandle.setFontWeight( DesignChoiceConstants.FONT_WEIGHT_900 );	}