dict.addPredefinedStyle( style );
MetadataTestUtil.addPredefinedStyle( dict, style );
	public void testAddSamePredefinedtyle( ) throws MetaDataException	{		// add one style		PredefinedStyle style = new PredefinedStyle( );		style.setName( "test" ); //$NON-NLS-1$		dict.addPredefinedStyle( style );		assertNotNull( dict.getPredefinedStyle( "test" ) ); //$NON-NLS-1$		// add another style with same name		style = new PredefinedStyle( );		style.setName( "test" ); //$NON-NLS-1$		try		{			dict.addPredefinedStyle( style );			fail( );		}		catch ( MetaDataException e )		{		}	}