MetaDataDictionary.getInstance( ).addStructure( structDefn );
MetadataTestUtil.addStructureDefn( MetaDataDictionary.getInstance( ), structDefn );
	public void test_MISSING_STRUCT_NAME( )	{		StructureDefn structDefn = new StructureDefn( null );		try		{			MetaDataDictionary.getInstance( ).addStructure( structDefn );			fail( );		}		catch ( MetaDataException e )		{			assertEquals(					MetaDataException.DESIGN_EXCEPTION_MISSING_STRUCT_NAME, e							.getErrorCode( ) );			assertEquals(					"Message:Missing structure name when adding a structure to the meta-data dictionary. Error code:MISSING_STRUCT_NAME", //$NON-NLS-1$					e.getMessage( ).trim( ) ); //$NON-NLS-1$ 		}	}