assertEquals(1, cnf.numChildren()); // Another select
// Outer select: Case 'female': Inner select
MsgSelectNode sn2 = (MsgSelectNode) cnf.getChild(0);
assertEquals("$gender2", sn2.getCommandText());
assertEquals(2, sn2.numChildren()); // female and default
// Outer select: Case 'female': Inner select: Case 'female'
MsgSelectCaseNode cnf2 = (MsgSelectCaseNode) sn2.getChild(0);
assertEquals("'female'", cnf2.getCommandText());
assertEquals(4, cnf2.numChildren());