final RuleDescr rule = (RuleDescr) parseResource( "rule",
"test_SimpleMethodCallWithFrom.drl" );
assertFalse( parser.getErrors().toString(),
parser.hasErrors() );
final PatternDescr pattern = (PatternDescr) rule.getLhs().getDescrs().get( 0 );
final FromDescr from = (FromDescr) pattern.getSource();
final MVELExprDescr method = (MVELExprDescr) from.getDataSource();
assertEquals( "something.doIt( foo,bar,42,\"hello\",[ a : \"b\", \"something\" : 42, \"a\" : foo, x : [x:y]],\"end\", [a, \"b\", 42] )",
method.getExpression() );
}