assertEquals(2, sn.numChildren()); // female and default
// Outer select: Case 'female'
MsgSelectCaseNode cnf = (MsgSelectCaseNode) sn.getChild(0);
assertEquals("'female'", cnf.getCommandText());
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