@Test
public void testValueLists() {
GuidedDecisionTable52 dt = new GuidedDecisionTable52();
// add cols for LHS
ConditionCol52 c1 = new ConditionCol52();
Pattern52 p1 = new Pattern52();
p1.setBoundName( "c1" );
p1.setFactType( "Driver" );
c1.setFactField( "name" );
c1.setConstraintValueType( BaseSingleFieldConstraint.TYPE_LITERAL );
p1.getChildColumns().add( c1 );
dt.getConditions().add( p1 );
ConditionCol52 c1_ = new ConditionCol52();
Pattern52 p1_ = new Pattern52();
p1_.setBoundName( "c1" );
p1_.setFactType( "Driver" );
c1_.setFactField( "name" );
p1_.getChildColumns().add( c1_ );
c1_.setConstraintValueType( BaseSingleFieldConstraint.TYPE_RET_VALUE );
dt.getConditions().add( p1_ );
ConditionCol52 c1__ = new ConditionCol52();
c1__.setFactField( "sex" );
p1_.getChildColumns().add( c1__ );
c1__.setConstraintValueType( BaseSingleFieldConstraint.TYPE_RET_VALUE );
c1__.setValueList( "Male,Female" );
dt.getConditions().add( p1_ );
ConditionCol52 c1___ = new ConditionCol52();
Pattern52 p1__ = new Pattern52();
p1__.setBoundName( "c1" );
p1__.setFactType( "Driver" );
c1___.setFactField( "name" );
c1___.setConstraintValueType( BaseSingleFieldConstraint.TYPE_LITERAL );
c1___.setValueList( "one,two,three" );
p1__.getChildColumns().add( c1___ );
dt.getConditions().add( p1__ );
ConditionCol52 c2 = new ConditionCol52();
Pattern52 p2 = new Pattern52();
p2.setBoundName( "c2" );
p2.setFactType( "Driver" );
c2.setFactField( "nothing" );
c2.setConstraintValueType( BaseSingleFieldConstraint.TYPE_LITERAL );
p2.getChildColumns().add( c2 );
dt.getConditions().add( p2 );
ActionSetFieldCol52 asf = new ActionSetFieldCol52();
asf.setBoundName( "c1" );