void function ( ) { ThresholdCircuitBreaker loc0 = new ThresholdCircuitBreaker ( threshold ) ; loc0 . incrementAndCheckState ( 9L ) ; loc0 . close ( ) ; assertFalse ( "srini_string" , loc0 . incrementAndCheckState ( 9L ) ) ; }
tests that closing a thresholdcircuitbreaker resets the internal counter . concode_field_sep long threshold concode_elem_sep long zeroThreshold concode_field_sep void testThreshold concode_elem_sep void testThresholdEqualsZero concode_elem_sep void testThresholdCircuitBreakingException concode_elem_sep void testGettingThreshold