METHOD_0 ( ) { final org . IDENT_0 . lib . IDENT_1 . connection . IDENT_2 IDENT_3 = new org . IDENT_0 . lib . IDENT_1 . connection . METHOD_1 ( ) ; int port = IDENT_3 . METHOD_2 ( ) ; org . IDENT_0 . lib . IDENT_1 . connection . IDENT_4 IDENT_5 = new org . IDENT_0 . lib . IDENT_1 . connection . METHOD_3 ( null , port ) ; final org . IDENT_0 . lib . IDENT_1 . server . IDENT_6 . IDENT_7 listener = new org . IDENT_0 . lib . IDENT_1 . server . IDENT_6 . METHOD_4 ( IDENT_3 , IDENT_5 ) ; java . lang . Thread IDENT_8 = new java . lang . Thread ( ) { @ org . IDENT_0 . lib . IDENT_1 . server . Override public void run ( ) { try { IDENT_3 . METHOD_5 ( Collections . IDENT_9 , listener ) ; } catch ( java . io . IOException ex ) { java . util . logging . IDENT_10 . METHOD_6 ( org . IDENT_0 . lib . IDENT_1 . server . IDENT_11 . class . getName ( ) ) . log ( IDENT_12 . IDENT_13 , null , ex ) ; } } } ; IDENT_8 . start ( ) ; try { java . lang . Thread . sleep ( INT_0 ) ; } catch ( java . lang . IDENT_14 IDENT_15 ) { } try { IDENT_5 . METHOD_7 ( listener ) ; } catch ( java . io . IOException IDENT_16 ) { IDENT_16 . printStackTrace ( ) ; } IDENT_8 . join ( ) ; "<AssertPlaceHolder>" ; IDENT_3 . METHOD_8 ( ) ; } METHOD_9 ( ) { return METHOD_9 ; }
org . junit . Assert . assertTrue ( listener . METHOD_9 ( ) )