METHOD_0 ( ) { org . apache . IDENT_0 . client . IDENT_1 IDENT_2 = IDENT_3 . METHOD_1 ( 2 , 2 , IDENT_4 . IDENT_5 , "" . getBytes ( ) ) ; IDENT_6 . put ( IDENT_2 . getId ( ) , true ) ; org . apache . IDENT_0 . client . api . IDENT_7 IDENT_8 = IDENT_9 . METHOD_2 ( IDENT_2 . getId ( ) ) . get ( ) . getValue ( ) ; org . apache . IDENT_0 . net . IDENT_10 address = null ; java . util . IDENT_11 < java . lang . Long , ? extends java . util . List < org . apache . IDENT_0 . net . IDENT_10 > > IDENT_12 = IDENT_8 . METHOD_3 ( ) ; for ( java . util . List < org . apache . IDENT_0 . net . IDENT_10 > IDENT_13 : IDENT_12 . values ( ) ) { address = IDENT_13 . get ( 0 ) ; } org . apache . IDENT_0 . conf . IDENT_14 IDENT_15 = METHOD_4 ( address ) ; IDENT_15 . METHOD_5 ( 10 , TimeUnit . IDENT_16 ) ; IDENT_2 . close ( ) ; final org . apache . IDENT_0 . IDENT_17 . IDENT_18 IDENT_19 = new org . apache . IDENT_0 . IDENT_17 . METHOD_6 ( ) ; final org . apache . IDENT_0 . IDENT_17 . IDENT_20 IDENT_21 = new org . apache . IDENT_0 . IDENT_17 . METHOD_7 ( IDENT_9 , IDENT_19 , IDENT_15 , org . apache . IDENT_0 . IDENT_22 . IDENT_23 . INSTANCE ) ; java . lang . Thread . sleep ( ( ( IDENT_15 . METHOD_8 ( ) ) + 1 ) ) ; IDENT_21 . METHOD_9 ( new org . apache . IDENT_0 . IDENT_17 . IDENT_20 . METHOD_10 ( ) { @ org . apache . IDENT_0 . IDENT_17 . Override public void METHOD_11 ( long IDENT_24 ) { try { IDENT_19 . METHOD_12 ( IDENT_24 ) ; } catch ( java . io . IOException e ) { e . printStackTrace ( ) ; return ; } } } ) ; "<AssertPlaceHolder>" ; } containsKey ( IDENT_25 ) { return ( get ( key ) ) != null ; }
org . junit . Assert . assertTrue ( IDENT_6 . containsKey ( IDENT_2 . getId ( ) ) )