" foo( $i, $x, $i ; ) " +
"then\n" +
"end";
KieHelper helper = new KieHelper();
helper.addContent( drl, ResourceType.DRL );
Results results = helper.verify();
assertTrue( results.hasMessages( Message.Level.ERROR ) );
assertEquals( 2, results.getMessages( Message.Level.ERROR ).size() );
}