assertEquals( "Learning abc", label.getStringProperty( "prop1" ) ); assertEquals( "true", label.getStringProperty( "prop2" ) );
assertEquals( "Learning abc", groupHandle.getStringProperty( "prop1" ) ); assertEquals( "true", groupHandle.getStringProperty( "prop2" ) );
	public void test_117823( ) throws SemanticException	{		DesignEngine engine = new DesignEngine( new DesignConfig( ) );		SessionHandle session = engine.newSessionHandle( ULocale.ENGLISH );		ReportDesignHandle designHandle = session.createDesign( );		ElementFactory factory = designHandle.getElementFactory( );		LabelHandle label = factory.newLabel( "label" ); //$NON-NLS-1$		UserPropertyDefn userProp1 = new UserPropertyDefn( );		userProp1.setName( "prop1" ); //$NON-NLS-1$		userProp1.setType( new StringPropertyType( ) );		userProp1.setDefault( "default value" ); //$NON-NLS-1$		UserPropertyDefn userProp2 = new UserPropertyDefn( );		userProp2.setName( "prop2" ); //$NON-NLS-1$		userProp2.setType( new BooleanPropertyType( ) );		userProp2.setDefault( Boolean.FALSE ); 				label.addUserPropertyDefn( userProp1 );		label.addUserPropertyDefn( userProp2 );						// TODO: change to GroupPropertyHandle.				// set property on label				label.setProperty( "prop1", "Learning abc");  //$NON-NLS-1$//$NON-NLS-2$		label.setProperty( "prop2", "true"); //$NON-NLS-1$//$NON-NLS-2$				// ensure the value is properly set.				assertEquals( "Learning abc", label.getStringProperty( "prop1" ) );  //$NON-NLS-1$//$NON-NLS-2$		assertEquals( "true", label.getStringProperty( "prop2" ) );  //$NON-NLS-1$//$NON-NLS-2$	}