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