public void violateMoreExceptionsThanSuccesses() throws InterruptedException {
InvocationRecord ir = new InvocationRecord( "testA" );
ir.addPolicy( new MaxAcceptableFailureRate( .01 ) );
assertEquals( "", ir.reportPolicyViolations() );
ir.recordSuccess();
assertEquals( "", ir.reportPolicyViolations() );
ir.recordException( "EXCEPTION" );
assertEquals( "", ir.reportPolicyViolations() );
ir.recordException( "EXCEPTION" );
assertTrue( ir.reportPolicyViolations().indexOf( "failure rate bigger" ) > -1 );
}