METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( org . mockito . Mockito . any ( org . apache . hadoop . hdfs . server . protocol . IDENT_1 . class ) , org . mockito . Mockito . any ( org . apache . hadoop . hdfs . server . protocol . IDENT_2 [ ] . class ) , org . mockito . Mockito . METHOD_2 ( ) , org . mockito . Mockito . METHOD_2 ( ) , org . mockito . Mockito . METHOD_3 ( ) , org . mockito . Mockito . METHOD_3 ( ) , org . mockito . Mockito . METHOD_3 ( ) , org . mockito . Mockito . any ( org . apache . hadoop . hdfs . server . protocol . IDENT_3 . class ) , org . mockito . Mockito . METHOD_4 ( ) , org . mockito . Mockito . any ( org . apache . hadoop . hdfs . server . protocol . IDENT_4 . class ) , org . mockito . Mockito . any ( org . apache . hadoop . hdfs . server . protocol . IDENT_5 . class ) ) ) . METHOD_5 ( new org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_7 . METHOD_6 ( 0 ) ) . METHOD_5 ( new org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_7 . METHOD_7 ( 0 ) ) . METHOD_5 ( new org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_7 . METHOD_6 ( 0 ) ) ; org . mockito . Mockito . when ( IDENT_0 . METHOD_8 ( org . mockito . Mockito . any ( org . apache . hadoop . hdfs . server . protocol . IDENT_1 . class ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . any ( org . apache . hadoop . hdfs . server . protocol . IDENT_8 [ ] . class ) , org . mockito . Mockito . any ( org . apache . hadoop . hdfs . server . protocol . IDENT_9 . class ) ) ) . METHOD_5 ( new org . mockito . IDENT_10 . METHOD_9 ( ) { @ org . apache . hadoop . hdfs . server . IDENT_6 . Override public java . lang . Object METHOD_10 ( org . mockito . IDENT_11 . IDENT_12 IDENT_11 ) throws java . lang . Throwable { org . apache . hadoop . hdfs . server . protocol . IDENT_9 context = ( ( org . apache . hadoop . hdfs . server . protocol . IDENT_9 ) ( IDENT_11 . METHOD_11 ( ) [ 3 ] ) ) ; long IDENT_13 = context . METHOD_12 ( ) ; org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_7 . LOG . info ( ( STRING_0 + IDENT_13 ) ) ; if ( IDENT_13 == 1 ) { IDENT_14 = IDENT_13 ; throw new java . net . METHOD_13 ( STRING_1 ) ; } else { IDENT_15 = IDENT_13 ; return null ; } } } ) ; org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_16 IDENT_17 = METHOD_14 ( IDENT_0 ) ; IDENT_17 . start ( ) ; try { METHOD_15 ( IDENT_17 ) ; METHOD_16 ( IDENT_0 , 2 ) ; "<AssertPlaceHolder>" ; while ( ( IDENT_15 ) != INT_0 ) { java . lang . Thread . sleep ( 1000 ) ; } } finally { IDENT_17 . METHOD_17 ( ) ; } } METHOD_16 ( org . apache . hadoop . hdfs . IDENT_18 . IDENT_19 , int ) { org . apache . hadoop . test . IDENT_20 . METHOD_18 ( new com . google . common . base . IDENT_21 < java . lang . Boolean > ( ) { @ org . apache . hadoop . hdfs . server . IDENT_6 . Override public org . apache . hadoop . hdfs . server . IDENT_6 . Boolean get ( ) { try { org . mockito . Mockito . verify ( IDENT_22 , org . mockito . Mockito . times ( 2 ) ) . METHOD_19 ( org . mockito . Mockito . any ( ) ) ; return true ; } catch ( java . lang . Throwable t ) { org . apache . hadoop . hdfs . server . IDENT_6 . IDENT_7 . LOG . info ( ( STRING_2 + ( t . getMessage ( ) ) ) ) ; return false ; } } } , INT_1 , INT_2 ) ; }
org . junit . Assert . assertEquals ( 1L , IDENT_14 )