dict.addElementDefn( element );  dict.addElementDefn( element );
MetadataTestUtil.addElementDefn( dict, element ); MetadataTestUtil.addElementDefn( dict, element );
	public void testSameElement( )	{		// add one element		ElementDefn element = new ElementDefn( );		element.setName( "Label" ); //$NON-NLS-1$		// add two elements with the same name , must throw out exception		try		{			dict.addElementDefn( element );			dict.addElementDefn( element );			fail( );		}		catch ( MetaDataException e )		{		}	}