METHOD_0 ( ) { org . glassfish . jersey . server . IDENT_0 IDENT_1 = mock ( org . glassfish . jersey . server . IDENT_0 . class ) ; javax . ws . rs . core . IDENT_2 < java . lang . String , java . lang . String > headers = new javax . ws . rs . core . METHOD_1 ( ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( mock ( Response . IDENT_3 . class ) ) ; when ( IDENT_1 . METHOD_3 ( ) ) . thenReturn ( headers ) ; com . IDENT_4 . vertx . jersey . IDENT_5 . IDENT_6 IDENT_7 = mock ( com . IDENT_4 . vertx . jersey . IDENT_5 . IDENT_6 . class ) ; com . IDENT_4 . vertx . jersey . IDENT_5 . IDENT_6 IDENT_8 = mock ( com . IDENT_4 . vertx . jersey . IDENT_5 . IDENT_6 . class ) ; IDENT_9 . add ( IDENT_7 ) ; IDENT_9 . add ( IDENT_8 ) ; headers . add ( STRING_0 , STRING_1 ) ; java . io . IDENT_10 IDENT_11 = writer . METHOD_4 ( 15 , IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( response , times ( 1 ) ) . METHOD_5 ( METHOD_6 ( ) ) ; verify ( response , times ( 1 ) ) . METHOD_7 ( anyString ( ) ) ; verify ( response , times ( 1 ) ) . METHOD_8 ( anyString ( ) , METHOD_9 ( java . lang . String . class ) ) ; verify ( IDENT_7 ) . process ( eq ( response ) , eq ( IDENT_1 ) ) ; verify ( IDENT_8 ) . process ( eq ( response ) , eq ( IDENT_1 ) ) ; writer . METHOD_4 ( ( - 1 ) , IDENT_1 ) ; verify ( response , times ( 2 ) ) . METHOD_8 ( anyString ( ) , METHOD_9 ( java . lang . String . class ) ) ; } METHOD_4 ( long , org . glassfish . jersey . server . IDENT_0 ) { IDENT_12 = IDENT_13 ; io . vertx . core . http . IDENT_14 response = IDENT_15 . response ( ) ; response . METHOD_5 ( IDENT_13 . getStatus ( ) ) ; response . METHOD_7 ( IDENT_13 . METHOD_2 ( ) . METHOD_10 ( ) ) ; if ( IDENT_16 != ( - 1 ) ) { response . METHOD_8 ( IDENT_17 . IDENT_18 , java . lang . String . valueOf ( IDENT_16 ) ) ; } for ( final Map . Entry < java . lang . String , java . util . List < java . lang . String > > e : IDENT_13 . METHOD_3 ( ) . entrySet ( ) ) { response . METHOD_8 ( e . getKey ( ) , e . getValue ( ) ) ; } if ( ! ( IDENT_9 . isEmpty ( ) ) ) { for ( com . IDENT_4 . vertx . jersey . IDENT_5 . IDENT_6 processor : IDENT_9 ) { processor . process ( response , IDENT_13 ) ; } } if ( IDENT_13 . METHOD_11 ( ) ) { response . METHOD_12 ( true ) ; return new com . IDENT_4 . vertx . jersey . impl . IDENT_19 . METHOD_13 ( response ) ; } else if ( ( IDENT_13 . METHOD_14 ( ) ) && ( com . IDENT_4 . vertx . jersey . IDENT_20 . class . METHOD_15 ( IDENT_13 . METHOD_16 ( ) ) ) ) { com . IDENT_4 . vertx . jersey . IDENT_20 IDENT_21 = ( ( com . IDENT_4 . vertx . jersey . IDENT_20 ) ( IDENT_13 . METHOD_17 ( ) ) ) ; IDENT_21 . init ( response , ( event ) -> end ( ) ) ; IDENT_22 = true ; return new com . IDENT_4 . vertx . jersey . impl . IDENT_19 . METHOD_18 ( ) ; } else { return new com . IDENT_4 . vertx . jersey . impl . IDENT_19 . METHOD_19 ( response ) ; } }
org . junit . Assert . assertNotNull ( IDENT_11 )