METHOD_0 ( ) { javax . net . IDENT_0 IDENT_1 = METHOD_1 ( org . apache . hadoop . net . IDENT_2 . METHOD_2 ( org . apache . hadoop . IDENT_3 . IDENT_4 . conf ) ) ; org . mockito . Mockito . METHOD_3 ( new org . mockito . IDENT_5 . IDENT_6 < java . net . IDENT_7 > ( ) { @ org . apache . hadoop . IDENT_3 . Override public java . net . IDENT_7 METHOD_4 ( org . mockito . IDENT_8 . IDENT_9 IDENT_8 ) throws java . lang . Throwable { java . net . IDENT_7 s = METHOD_1 ( ( ( java . net . IDENT_7 ) ( IDENT_8 . METHOD_5 ( ) ) ) ) ; METHOD_6 ( new java . lang . RuntimeException ( STRING_0 ) ) . when ( s ) . METHOD_7 ( METHOD_8 ( ) ) ; return s ; } } ) . when ( IDENT_1 ) . METHOD_9 ( ) ; org . apache . hadoop . IDENT_3 . IDENT_10 server = new org . apache . hadoop . IDENT_3 . IDENT_4 . METHOD_10 ( 1 , true ) ; server . start ( ) ; try { java . net . IDENT_11 address = org . apache . hadoop . net . IDENT_2 . METHOD_11 ( server ) ; org . apache . hadoop . IDENT_3 . IDENT_12 client = new org . apache . hadoop . IDENT_3 . METHOD_12 ( org . apache . hadoop . io . IDENT_13 . class , org . apache . hadoop . IDENT_3 . IDENT_4 . conf , IDENT_1 ) ; try { client . call ( new org . apache . hadoop . io . METHOD_13 ( org . apache . hadoop . IDENT_3 . IDENT_4 . IDENT_14 . METHOD_14 ( ) ) , address , null , null , 0 , org . apache . hadoop . IDENT_3 . IDENT_4 . conf ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . Exception e ) { org . apache . hadoop . IDENT_3 . IDENT_4 . LOG . info ( STRING_2 , e ) ; "<AssertPlaceHolder>" ; } org . mockito . Mockito . METHOD_15 ( IDENT_1 ) ; client . call ( new org . apache . hadoop . io . METHOD_13 ( org . apache . hadoop . IDENT_3 . IDENT_4 . IDENT_14 . METHOD_14 ( ) ) , address , null , null , 0 , org . apache . hadoop . IDENT_3 . IDENT_4 . conf ) ; } finally { server . METHOD_16 ( ) ; } } METHOD_17 ( java . lang . Throwable ) { java . io . StringWriter IDENT_15 = new java . io . StringWriter ( ) ; java . io . IDENT_16 IDENT_17 = new java . io . METHOD_18 ( IDENT_15 ) ; e . printStackTrace ( IDENT_17 ) ; IDENT_17 . close ( ) ; return IDENT_15 . toString ( ) ; }
org . junit . Assert . assertTrue ( org . apache . hadoop . util . StringUtils . METHOD_17 ( e ) . contains ( STRING_0 ) )