public void testIncoherentPatternsInSubRuleRangesEqualOrUnequalVariables() throws Exception {
StatelessSession session = getStatelessSession( this.getClass().getResourceAsStream( "Patterns.drl" ) );
session.setAgendaFilter( new RuleNameMatchesAgendaFilter( "Incoherent Patterns in rule possibility, ranges when not conflicts with equal or unequal variables" ) );
VerifierReport result = VerifierReportFactory.newVerifierReport();
Collection< ? extends Object> testData = getTestData( this.getClass().getResourceAsStream( "PatternsTest.drl" ),
result.getVerifierData() );
session.setGlobal( "result",
result );
session.executeWithResults( testData );
Iterator<VerifierMessageBase> iter = result.getBySeverity( Severity.WARNING ).iterator();
Set<String> rulesThatHadErrors = new HashSet<String>();
while ( iter.hasNext() ) {
Object o = (Object) iter.next();
if ( o instanceof VerifierMessage ) {