assertNull( session.getDefaultValue( Style.FONT_SIZE_PROP ) );
assertNull( session.getDefaultValue( IStyleModel.FONT_SIZE_PROP ) );
	public void testSetValue( ) throws PropertyValueException	{		DesignSession session = new DesignSession( null );		// get the default RGBvalue		assertEquals( 3, session.getColorFormat( ) );		// set the new RGB value		session.setColorFormat( 2 );		assertEquals( 2, session.getColorFormat( ) );		try		{			session.setColorFormat( 999999 );			fail( );		}		catch ( PropertyValueException e )		{			assertEquals(					PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE, e							.getErrorCode( ) );		}		assertEquals( 2, session.getColorFormat( ) );		// the default units value		assertEquals( "in", session.getUnits( ) ); //$NON-NLS-1$		// set the new unit value		session.setUnits( "cm" ); //$NON-NLS-1$		assertEquals( "cm", session.getUnits( ) ); //$NON-NLS-1$		// set the invalid units value		try		{			session.setUnits( "wrong units" ); //$NON-NLS-1$			fail( );		}		catch ( PropertyValueException e )		{			assertEquals(					PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE, e							.getErrorCode( ) );		}		assertEquals( "cm", session.getUnits( ) ); //$NON-NLS-1$		// get the default value of font-size. The default value is not set.		assertNull( session.getDefaultValue( Style.FONT_SIZE_PROP ) );		// set a default value for it		session.setDefaultValue( Style.FONT_SIZE_PROP, "3cm" ); //$NON-NLS-1$		assertEquals(				"3cm", ( (DimensionValue) session.getDefaultValue( Style.FONT_SIZE_PROP ) ).toString( ) ); //$NON-NLS-1$		// set the wrong value for font-size.		try		{			session.setDefaultValue( Style.FONT_SIZE_PROP, "wrong value" ); //$NON-NLS-1$			fail( );		}		catch ( PropertyValueException pve )		{			assertEquals(					PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE, pve							.getErrorCode( ) );		}		// set the default value of font-size as null		session.setDefaultValue( Style.FONT_SIZE_PROP, null );	}