MetaDataDictionary.reset( ); ThreadResources.setLocale( ULocale.ENGLISH );  MetaDataReader .read( ReportDesign.class.getResourceAsStream( "rom.def" ) );  sessionHandle = new DesignEngine( new DesignConfig( ) ) .newSessionHandle( (ULocale) null ); MetaDataDictionary.reset( );  MetaDataReader.read( ReportDesign.class .getResourceAsStream( ROM_DEF_NAME ) );
super.setUp();  sessionHandle = engine.newSessionHandle( ULocale.ENGLISH );
	protected void setUp( ) throws Exception	{		MetaDataDictionary.reset( );		ThreadResources.setLocale( ULocale.ENGLISH );		MetaDataReader				.read( ReportDesign.class.getResourceAsStream( "rom.def" ) ); //$NON-NLS-1$		sessionHandle = new DesignEngine( new DesignConfig( ) )				.newSessionHandle( (ULocale) null );		MetaDataDictionary.reset( );		MetaDataReader.read( ReportDesign.class				.getResourceAsStream( ROM_DEF_NAME ) );		designElement = new TextItem( );		designElement.setName( "element" ); //$NON-NLS-1$		designHandle = sessionHandle.createDesign( "myDesign" ); //$NON-NLS-1$		design = (ReportDesign) designHandle.getModule( );		assertEquals( 0, design.getAllErrors( ).size( ) );		// get the MetaDataDictionary instance		dd = MetaDataDictionary.getInstance( );	}