METHOD_0 ( ) { final org . IDENT_0 . backend . server . util . IDENT_1 . IDENT_2 IDENT_3 = new org . IDENT_0 . backend . server . util . IDENT_1 . METHOD_1 ( ) ; final javax . servlet . http . IDENT_4 mock = mock ( javax . servlet . http . IDENT_4 . class ) ; when ( mock . METHOD_2 ( eq ( javax . ws . rs . core . IDENT_5 . IDENT_6 ) ) ) . thenReturn ( org . IDENT_0 . backend . server . util . IDENT_1 . METHOD_1 . IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( javax . servlet . IDENT_8 ) { final java . lang . String IDENT_9 = java . lang . System . getProperty ( org . IDENT_0 . backend . server . util . IDENT_1 . METHOD_1 . IDENT_10 ) ; if ( ( IDENT_9 != null ) && ( ! ( IDENT_9 . equals ( STRING_0 ) ) ) ) { return org . IDENT_0 . backend . server . util . IDENT_1 . METHOD_1 . IDENT_11 . IDENT_12 ; } if ( ! ( req instanceof javax . servlet . http . IDENT_4 ) ) { return org . IDENT_0 . backend . server . util . IDENT_1 . METHOD_1 . IDENT_11 . IDENT_13 ; } final java . lang . String IDENT_14 = ( ( javax . servlet . http . IDENT_4 ) ( req ) ) . METHOD_2 ( javax . ws . rs . core . IDENT_5 . IDENT_6 ) ; if ( ( IDENT_14 == null ) || ( ! ( IDENT_14 . contains ( org . IDENT_0 . backend . server . util . IDENT_1 . METHOD_1 . IDENT_7 ) ) ) ) { return org . IDENT_0 . backend . server . util . IDENT_1 . METHOD_1 . IDENT_11 . IDENT_15 ; } return org . IDENT_0 . backend . server . util . IDENT_1 . METHOD_1 . IDENT_11 . IDENT_16 ; }
org . junit . Assert . assertEquals ( IDENT_11 . IDENT_16 , IDENT_3 . METHOD_3 ( mock ) )