26282629263026312632263326342635263626372638
+ "when\n" + "java.util.List() from collect ( Person( field1 == \"foo\", field2 == \"bar\" ) ) \n" + "then\n" + "end"; m.addRow( new String[]{ "foo", "bar" } ); checkMarshall( expected, m ); }
26552656265726582659266026612662266326642665
+ "dialect \"mvel\"\n" + "when\n" + "then\n" + "end"; m.addRow( new String[]{ "foo", null } ); checkMarshall( expected, m ); }
26822683268426852686268726882689269026912692
+ "dialect \"mvel\"\n" + "when\n" + "then\n" + "end"; m.addRow( new String[]{ null, "foo" } ); checkMarshall( expected, m ); }
27282729273027312732273327342735273627372738
+ "when\n" + "java.util.List( size > 1 ) from collect ( Person( field1 == \"foo\", field2 == \"bar\" ) ) \n" + "then\n" + "end"; m.addRow( new String[]{ "1", "foo", "bar" } ); checkMarshall( expected, m ); }
27742775277627772778277927802781278227832784
+ "when\n" + "java.util.List( size > 1 ) from collect ( Person( field1 == \"foo\" ) ) \n" + "then\n" + "end"; m.addRow( new String[]{ "1", "foo", null } ); checkMarshall( expected, m ); }
28202821282228232824282528262827282828292830
+ "when\n" + "java.util.List( size > 1 ) from collect ( Person( field2 == \"bar\" ) ) \n" + "then\n" + "end"; m.addRow( new String[]{ "1", null, "bar" } ); checkMarshall( expected, m ); }
28422843284428452846284728482849285028512852
+ "when\n" + "Person( field1 == \"foo\", field2 == \"bar\" ) \n" + "then\n" + "end"; m.addRow( new String[]{ "foo", "bar" } ); checkMarshall( expected, m ); }
28632864286528662867286828692870287128722873
28842885288628872888288928902891289228932894
+ "dialect \"mvel\"\n" + "when\n" + "then\n" + "end"; m.addRow( new String[]{ null, "bar" } ); checkMarshall( expected, m ); }
29062907290829092910291129122913291429152916
+ "when\n" + "then\n" + "System.println( \"foo\" + \"bar\" );" + "end"; m.addRow( new String[]{ "foo", "bar" } ); checkMarshall( expected, m ); }