METHOD_0 ( ) { int port = INT_0 ; javax . servlet . http . IDENT_0 response = METHOD_1 ( javax . servlet . http . IDENT_0 . class ) ; javax . servlet . http . IDENT_1 request = METHOD_2 ( ) ; java . lang . String expected = ( STRING_0 + port ) + "/" ; expect ( response . METHOD_3 ( eq ( expected ) ) ) . andReturn ( expected ) ; replay ( request ) ; replay ( response ) ; org . apache . IDENT_2 . web . filter . IDENT_3 . IDENT_4 filter = new org . apache . IDENT_2 . web . filter . IDENT_3 . METHOD_4 ( ) ; filter . METHOD_5 ( port ) ; boolean result = filter . METHOD_6 ( request , response , null ) ; verify ( request ) ; verify ( response ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( javax . servlet . IDENT_5 , javax . servlet . IDENT_6 , java . lang . Object ) { int port = METHOD_7 ( IDENT_7 ) ; java . lang . String IDENT_8 = METHOD_8 ( request . METHOD_8 ( ) , port ) ; java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; sb . append ( IDENT_8 ) . append ( STRING_1 ) ; sb . append ( request . METHOD_9 ( ) ) ; if ( ( port != ( org . apache . IDENT_2 . web . filter . IDENT_3 . METHOD_4 . IDENT_9 ) ) && ( port != ( IDENT_10 . IDENT_11 ) ) ) { sb . append ( STRING_2 ) ; sb . append ( port ) ; } if ( request instanceof javax . servlet . http . IDENT_1 ) { sb . append ( org . apache . IDENT_2 . web . util . IDENT_12 . METHOD_10 ( request ) . METHOD_11 ( ) ) ; java . lang . String query = org . apache . IDENT_2 . web . util . IDENT_12 . METHOD_10 ( request ) . METHOD_12 ( ) ; if ( query != null ) { sb . append ( STRING_3 ) . append ( query ) ; } } org . apache . IDENT_2 . web . util . IDENT_12 . METHOD_13 ( request , response , sb . toString ( ) ) ; return false ; }
org . junit . Assert . assertFalse ( result )