METHOD_0 ( ) { java . net . IDENT_0 IDENT_1 = null ; try { IDENT_1 = new java . net . METHOD_1 ( 0 ) ; IDENT_1 . METHOD_2 ( true ) ; int port = IDENT_1 . METHOD_3 ( ) ; when ( IDENT_2 . METHOD_4 ( ) ) . thenReturn ( java . net . IDENT_3 . METHOD_5 ( ) ) ; when ( IDENT_2 . METHOD_6 ( ) ) . thenReturn ( port ) ; when ( IDENT_2 . METHOD_7 ( ) ) . thenReturn ( INT_0 ) ; java . net . METHOD_1 IDENT_4 = IDENT_1 ; new java . lang . Thread ( ( ) -> { java . net . IDENT_5 IDENT_6 = null ; try { IDENT_6 = IDENT_4 . accept ( ) ; java . io . IDENT_7 IDENT_8 = new java . io . METHOD_8 ( IDENT_6 . METHOD_9 ( ) , true ) ; IDENT_8 . write ( STRING_0 ) ; IDENT_8 . METHOD_10 ( ) ; } catch ( e ) { org . IDENT_9 . IDENT_10 . command . e . printStackTrace ( ) ; } } ) . start ( ) ; IDENT_11 . METHOD_11 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } finally { if ( IDENT_1 != null ) { IDENT_1 . close ( ) ; } } } METHOD_12 ( ) { return new org . IDENT_9 . IDENT_10 . command . METHOD_13 ( IDENT_2 . METHOD_4 ( ) , IDENT_2 . METHOD_6 ( ) , IDENT_2 . METHOD_7 ( ) ) ; }
org . junit . Assert . assertNotNull ( IDENT_11 . METHOD_12 ( ) )