MetaDataDictionary.reset( );  MetaDataReader.read( ElementDefnTest.class
loadMetaData( ElementDefnTest.class
	public void testMethod( ) throws MetaDataParserException	{		ThreadResources.setLocale( ULocale.getDefault( ) );		MetaDataDictionary.reset( );		MetaDataReader.read( ElementDefnTest.class				.getResourceAsStream( "input/ElementDefnTest.def" ) ); //$NON-NLS-1$		MetaDataDictionary dd = MetaDataDictionary.getInstance( );		IElementDefn element = dd.getElement( "ReportElement" ); //$NON-NLS-1$		assertNotNull( element );		IMethodInfo method1 = element.getProperty( "method1" ).getMethodInfo( ); //$NON-NLS-1$		assertNotNull( method1 );		assertEquals( "display-name-id", method1.getDisplayNameKey( ) ); //$NON-NLS-1$		assertEquals( "tool-tip-id", method1.getToolTipKey( ) ); //$NON-NLS-1$		assertEquals( "string", method1.getReturnType( ) ); //$NON-NLS-1$		Iterator iter = method1.argumentListIterator( );		ArgumentInfoList argumentList = (ArgumentInfoList) iter.next( );		IArgumentInfo arg = argumentList.getArgument( "arg0" ); //$NON-NLS-1$		assertNotNull( arg );		assertEquals( "method1.arg0", arg.getDisplayNameKey( ) ); //$NON-NLS-1$		assertEquals( "int", arg.getType( ) ); //$NON-NLS-1$		arg = argumentList.getArgument( "arg1" ); //$NON-NLS-1$		assertNotNull( arg );		assertEquals( "method1.arg1", arg.getDisplayNameKey( ) ); //$NON-NLS-1$		assertEquals( "string", arg.getType( ) ); //$NON-NLS-1$		IMethodInfo method2 = element.getProperty( "method2" ).getMethodInfo( ); //$NON-NLS-1$		assertNotNull( method2 );	}