METHOD_0 ( ) { final java . net . IDENT_0 server = new java . net . METHOD_1 ( ) ; final java . util . List < java . lang . Boolean > result = java . util . Arrays . asList ( false ) ; final java . util . concurrent . IDENT_1 IDENT_2 = new java . util . concurrent . METHOD_2 ( 1 ) ; java . util . concurrent . IDENT_3 . METHOD_3 ( ) . execute ( new java . lang . METHOD_4 ( ) { @ com . IDENT_4 . logger . IDENT_5 . Override public void run ( ) { try { server . METHOD_5 ( new java . net . METHOD_6 ( 0 ) ) ; java . net . IDENT_6 IDENT_7 = server . accept ( ) ; IDENT_7 . close ( ) ; result . set ( 0 , true ) ; IDENT_2 . METHOD_7 ( ) ; } catch ( java . io . IOException e ) { e . printStackTrace ( ) ; } } } ) ; TimeUnit . IDENT_8 . sleep ( 1 ) ; java . util . Properties props = new java . util . Properties ( ) ; props . setProperty ( IDENT_9 . IDENT_10 , STRING_0 ) ; props . setProperty ( IDENT_9 . IDENT_11 , STRING_1 ) ; props . setProperty ( IDENT_9 . IDENT_12 , ( "" + ( server . METHOD_8 ( ) ) ) ) ; props . setProperty ( IDENT_9 . IDENT_13 , STRING_2 ) ; final com . IDENT_4 . logger . IDENT_5 . IDENT_14 IDENT_5 = new com . IDENT_4 . logger . IDENT_5 . METHOD_9 ( props , STRING_1 , server . METHOD_8 ( ) , STRING_0 ) ; IDENT_5 . METHOD_10 ( ) ; java . util . HashMap < java . lang . String , java . lang . Object > records = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; records . put ( STRING_3 , STRING_4 ) ; IDENT_5 . METHOD_11 ( STRING_5 , records ) ; java . util . concurrent . IDENT_15 executor = java . util . concurrent . IDENT_3 . METHOD_3 ( ) ; executor . execute ( new java . lang . METHOD_4 ( ) { @ com . IDENT_4 . logger . IDENT_5 . Override public void run ( ) { IDENT_5 . METHOD_12 ( ) ; } } ) ; TimeUnit . IDENT_8 . sleep ( 1 ) ; executor . METHOD_13 ( ) ; "<AssertPlaceHolder>" ; IDENT_2 . METHOD_14 ( 6 , TimeUnit . IDENT_8 ) ; server . close ( ) ; } METHOD_12 ( ) { IDENT_16 . set ( true ) ; METHOD_15 ( ) ; }
org . junit . Assert . assertTrue ( result . get ( 0 ) )