METHOD_0 ( ) { org . apache . hadoop . test . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . hadoop . test . IDENT_0 . METHOD_1 ( org . apache . hadoop . hdfs . IDENT_3 . client . IDENT_4 . LOG ) ; org . mockito . Mockito . METHOD_2 ( IDENT_2 ) . when ( IDENT_5 ) . METHOD_3 ( org . mockito . Mockito . < org . apache . hadoop . hdfs . IDENT_3 . protocol . IDENT_6 > any ( ) , org . mockito . Mockito . eq ( 1L ) , org . mockito . Mockito . eq ( 1L ) , org . mockito . Mockito . eq ( 1 ) , org . mockito . Mockito . METHOD_4 ( org . apache . hadoop . hdfs . IDENT_3 . client . IDENT_4 . IDENT_7 ) ) ; int IDENT_8 = ( org . apache . hadoop . hdfs . IDENT_3 . client . IDENT_4 . IDENT_9 ) / ( org . apache . hadoop . hdfs . IDENT_3 . client . IDENT_4 . IDENT_7 . length ) ; for ( int i = 1 ; i <= IDENT_8 ; i ++ ) { ch . METHOD_5 ( 1L , ( ( long ) ( i ) ) , 1 , org . apache . hadoop . hdfs . IDENT_3 . client . IDENT_4 . IDENT_7 ) ; } "<AssertPlaceHolder>" ; try { ch . METHOD_5 ( 1L , ( IDENT_8 + 1 ) , 1 , org . apache . hadoop . hdfs . IDENT_3 . client . IDENT_4 . IDENT_7 ) . get ( 1 , TimeUnit . IDENT_10 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( java . util . concurrent . IDENT_11 IDENT_12 ) { if ( ! ( ( IDENT_12 . METHOD_6 ( ) ) instanceof org . apache . hadoop . hdfs . IDENT_3 . client . IDENT_13 ) ) { throw IDENT_12 ; } } IDENT_2 . METHOD_7 ( ) ; org . apache . hadoop . test . IDENT_0 . METHOD_8 ( new com . google . common . base . IDENT_14 < java . lang . Boolean > ( ) { @ org . apache . hadoop . hdfs . IDENT_3 . client . Override public org . apache . hadoop . hdfs . IDENT_3 . client . Boolean get ( ) { return ( ch . METHOD_9 ( ) ) == 0 ; } } , 10 , 1000 ) ; } METHOD_9 ( ) { return ch . METHOD_9 ( ) ; }
org . junit . Assert . assertEquals ( org . apache . hadoop . hdfs . IDENT_3 . client . IDENT_4 . IDENT_9 , ch . METHOD_9 ( ) )