METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( com . google . common . collect . Lists . newArrayList ( mock ( com . IDENT_1 . IDENT_2 . IDENT_3 . class ) ) ) ; when ( IDENT_0 . METHOD_2 ( any ( com . IDENT_1 . IDENT_2 . IDENT_3 . class ) , any ( com . IDENT_1 . IDENT_2 . IDENT_4 . class ) ) ) . METHOD_3 ( com . IDENT_1 . IDENT_2 . pool . RuntimeException . class ) . thenReturn ( null ) ; when ( IDENT_0 . METHOD_4 ( any ( com . IDENT_1 . IDENT_2 . pool . Exception . class ) ) ) . thenReturn ( true ) ; com . IDENT_1 . IDENT_2 . pool . IDENT_5 < com . IDENT_1 . IDENT_2 . pool . IDENT_6 . IDENT_7 > pool = METHOD_5 ( com . google . common . util . concurrent . IDENT_8 . METHOD_6 ( ) ) ; com . IDENT_1 . IDENT_2 . IDENT_9 IDENT_10 = mock ( com . IDENT_1 . IDENT_2 . IDENT_9 . class ) ; when ( IDENT_10 . METHOD_7 ( METHOD_8 ( ) , METHOD_9 ( ) ) ) . thenReturn ( true ) ; java . util . Collection < java . util . concurrent . IDENT_11 < java . lang . IDENT_12 > > IDENT_13 = pool . METHOD_10 ( IDENT_10 , mock ( com . IDENT_1 . IDENT_2 . IDENT_4 . class ) ) ; "<AssertPlaceHolder>" ; java . util . concurrent . IDENT_11 < java . lang . IDENT_12 > future = IDENT_13 . iterator ( ) . next ( ) ; future . get ( 10 , TimeUnit . IDENT_14 ) ; } METHOD_10 ( com . IDENT_1 . IDENT_2 . IDENT_9 , com . IDENT_1 . IDENT_2 . IDENT_4 ) { return METHOD_11 ( com . IDENT_1 . IDENT_2 . pool . IDENT_5 . IDENT_15 , IDENT_10 , IDENT_16 ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_13 . size ( ) )