assertFalse( handle.isMustMatch( ) ); assertTrue( handle.isFixedOrder( ) );
assertTrue( handle.isMustMatch( ) ); assertTrue( handle.isFixedOrder( ) );
	public void testProperties( ) throws Exception	{		SlotHandle params = designHandle.getSlot( ReportDesign.PARAMETER_SLOT );		assertEquals( 3, params.getCount( ) );		ScalarParameterHandle handle = (ScalarParameterHandle) params.get( 0 );		assertEquals( "scalar para help", handle.getHelpText( ) ); //$NON-NLS-1$		assertEquals( "help", handle.getHelpTextKey( ) ); //$NON-NLS-1$		assertTrue( handle.isHidden( ) );		assertEquals( DesignChoiceConstants.PARAM_TYPE_DECIMAL, handle				.getDataType( ) );		assertEquals( "the validation test", handle.getValidate( ) ); //$NON-NLS-1$		assertFalse( handle.isConcealValue( ) );		assertEquals( "State", handle.getDefaultValue( ) ); //$NON-NLS-1$		assertTrue( handle.allowNull( ) );		assertFalse( handle.allowBlank( ) );		assertEquals( "##,###.##", handle.getFormat( ) ); //$NON-NLS-1$		assertEquals( DesignChoiceConstants.PARAM_CONTROL_CHECK_BOX, handle				.getControlType( ) );		assertEquals( DesignChoiceConstants.SCALAR_PARAM_ALIGN_AUTO, handle				.getAlignment( ) );		assertFalse( handle.isMustMatch( ) ); //$NON-NLS-1$		assertTrue( handle.isFixedOrder( ) ); //$NON-NLS-1$		StructureHandle[] choices = new StructureHandle[3];		int count = 0;		Iterator iter = null;		for ( iter = handle.choiceIterator( ); iter.hasNext( ); count++ )			choices[count] = (StructureHandle) ( iter.next( ) );		assertEquals( 3, count );		assertEquals( "option 1", //$NON-NLS-1$				choices[0].getMember( SelectionChoice.VALUE_MEMBER ).getValue( ) );		assertEquals( "option 1 label", //$NON-NLS-1$				choices[0].getMember( SelectionChoice.LABEL_MEMBER ).getValue( ) );		assertEquals( "key 1 for label 1", //$NON-NLS-1$				choices[0]						.getMember( SelectionChoice.LABEL_RESOURCE_KEY_MEMBER )						.getValue( ) );		assertEquals( "option 3", //$NON-NLS-1$				choices[2].getMember( SelectionChoice.VALUE_MEMBER ).getValue( ) );		assertNull( choices[2].getMember( SelectionChoice.LABEL_MEMBER )				.getValue( ) );		assertNull( choices[2].getMember(				SelectionChoice.LABEL_RESOURCE_KEY_MEMBER ).getValue( ) );		handle = (ScalarParameterHandle) params.get( 1 );		assertEquals( "City", handle.getPromptText( ) ); //$NON-NLS-1$		handle.setPromptText( "new Text" ); //$NON-NLS-1$		assertEquals( "new Text", handle.getPromptText( ) ); //$NON-NLS-1$		assertEquals( 100, handle.getListlimit( ) ); //$NON-NLS-1$		handle.setListlimit( 200 );		assertEquals( 200, handle.getListlimit( ) ); //$NON-NLS-1$	}