ir.recordException( "Shit happens!" );
assertEquals( "", ir.reportPolicyViolations() );
ir.recordException( "Shit happens!" );
assertTrue( ir.reportPolicyViolations().indexOf( "failed more than" ) > -1 );
ir.recordSuccess();
assertEquals( "", ir.reportPolicyViolations() );
ir.recordException( "Shit happens!" );
assertEquals( "", ir.reportPolicyViolations() );
}
}