def.setAllowsUserProperties( true ); def.setCanExtend( true ); def.setDisplayNameKey( "Element.ReportDesign" ); def.setExtends( "ReportElement" ); def.setHasStyle( true ); def.setName( "Name" ); def.setNameOption( 2 ); def.setNameSpaceID( 4 );  def.setSupportsUserProperties( true );
MetadataTestUtil.setAllowsUserProperties( def, true ); MetadataTestUtil.setCanExtends( def, true ); MetadataTestUtil.setDisplayNameKey( def, "Element.ReportDesign" ); MetadataTestUtil.setExtends( def, "ReportElement" ); MetadataTestUtil.setHasStyle( def, true ); MetadataTestUtil.setName( def, "Name" ); MetadataTestUtil.setNameOption( def, 2 ); MetadataTestUtil.setNameSpaceID( def, 4 );
	public void testGetterAndSetter( )	{		def.setAllowsUserProperties( true );		def.setCanExtend( true );		def.setDisplayNameKey( "Element.ReportDesign" ); //$NON-NLS-1$		def.setExtends( "ReportElement" ); //$NON-NLS-1$		def.setHasStyle( true );		def.setName( "Name" ); //$NON-NLS-1$		def.setNameOption( 2 );		def.setNameSpaceID( 4 );		// No getter for supportUserProperties		def.setSupportsUserProperties( true );		assertEquals( false, def.isAbstract( ) );		assertEquals( true, def.allowsUserProperties( ) );		assertEquals( true, def.canExtend( ) );		assertEquals( "Report Design", def.getDisplayName( ) ); //$NON-NLS-1$		assertEquals( "Element.ReportDesign", def.getDisplayNameKey( ) ); //$NON-NLS-1$		assertEquals( "ReportElement", def.getExtends( ) ); //$NON-NLS-1$		assertEquals( true, def.hasStyle( ) );		assertEquals( "Name", def.getName( ) ); //$NON-NLS-1$		assertEquals( 2, def.getNameOption( ) );		assertEquals( 4, def.getNameSpaceID( ) );	}