void function ( ) { ThresholdCircuitBreaker loc0 = new ThresholdCircuitBreaker ( threshold ) ; loc0 . incrementAndCheckState ( 9L ) ; assertTrue ( "srini_string" , loc0 . incrementAndCheckState ( 2L ) ) ; }
tests that exceeding the threshold raises an exception . concode_field_sep long threshold concode_elem_sep long zeroThreshold concode_field_sep void testThreshold concode_elem_sep void testThresholdEqualsZero concode_elem_sep void testClosingThresholdCircuitBreaker concode_elem_sep void testGettingThreshold