METHOD_0 ( ) { org . apache . IDENT_0 . client . IDENT_1 . IDENT_2 policy = new org . apache . IDENT_0 . client . IDENT_1 . METHOD_1 ( 10 , 15 , 2 ) ; org . apache . IDENT_0 . client . IDENT_1 . IDENT_3 executor = mock ( org . apache . IDENT_0 . client . IDENT_1 . IDENT_3 . class ) ; final java . util . concurrent . atomic . IDENT_4 IDENT_5 = new java . util . concurrent . atomic . METHOD_2 ( 0 ) ; final com . IDENT_6 . util . IDENT_7 IDENT_8 = new com . IDENT_6 . util . METHOD_3 ( 3 ) ; org . mockito . Mockito . METHOD_4 ( new org . mockito . IDENT_9 . METHOD_5 ( ) { @ org . apache . IDENT_0 . client . IDENT_1 . Override public java . lang . Object METHOD_6 ( org . mockito . IDENT_10 . IDENT_11 IDENT_10 ) throws java . lang . Throwable { try { return com . IDENT_6 . util . IDENT_12 . value ( ( ( IDENT_5 . METHOD_7 ( ) ) < 3 ) ) ; } finally { IDENT_8 . METHOD_8 ( ) ; } } } ) . when ( executor ) . METHOD_9 ( ) ; java . util . concurrent . IDENT_13 IDENT_14 = java . util . concurrent . IDENT_15 . METHOD_10 ( ) ; policy . METHOD_11 ( IDENT_14 , executor ) ; IDENT_8 . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( ) { return IDENT_16 ; }
org . junit . Assert . assertEquals ( 15 , policy . METHOD_13 ( ) )