METHOD_0 ( ) { javax . ws . rs . core . Response response = mock ( javax . ws . rs . core . Response . class ) ; javax . ws . rs . core . Response . IDENT_0 IDENT_1 = mock ( Response . IDENT_0 . class ) ; javax . ws . rs . core . IDENT_2 < java . lang . String , java . lang . Object > headers = new javax . ws . rs . core . METHOD_1 ( ) ; java . io . InputStream IDENT_3 = mock ( java . io . InputStream . class ) ; java . lang . Class < java . io . InputStream > IDENT_4 = java . io . InputStream . class ; when ( response . METHOD_2 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_3 ( ) ) . thenReturn ( Response . Status . IDENT_5 . IDENT_6 ) ; when ( response . METHOD_4 ( ) ) . thenReturn ( headers ) ; when ( response . METHOD_5 ( IDENT_4 ) ) . thenReturn ( IDENT_3 ) ; java . io . InputStream IDENT_7 = ( ( java . io . InputStream ) ( com . IDENT_8 . IDENT_9 . http . internal . IDENT_10 . METHOD_5 ( response , IDENT_4 ) ) ) ; "<AssertPlaceHolder>" ; verify ( response ) . METHOD_2 ( ) ; verify ( IDENT_1 ) . METHOD_3 ( ) ; verify ( response , METHOD_6 ( ) ) . METHOD_4 ( ) ; verify ( response ) . METHOD_5 ( IDENT_4 ) ; verify ( response , METHOD_7 ( ) ) . METHOD_8 ( ) ; verify ( response ) . METHOD_9 ( ) ; METHOD_10 ( response , IDENT_1 , IDENT_3 ) ; } METHOD_5 ( javax . ws . rs . core . Response , javax . ws . rs . core . IDENT_11 ) { MOD_0 ( response ) { if ( response . METHOD_2 ( ) . METHOD_3 ( ) . equals ( Status . IDENT_5 . IDENT_6 ) ) { response . METHOD_8 ( ) ; return response . METHOD_5 ( IDENT_4 ) ; } } if ( ( response . getStatus ( ) ) == ( Status . IDENT_12 . getStatusCode ( ) ) ) { return null ; } throw new java . lang . IllegalStateException ( STRING_0 ) ; }
org . junit . Assert . assertTrue ( ( IDENT_7 == IDENT_3 ) )