METHOD_0 ( ) { when ( request . METHOD_1 ( STRING_0 ) ) . thenReturn ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( javax . servlet . http . IDENT_0 , boolean ) { java . lang . String IDENT_1 = ( IDENT_2 ) ? STRING_2 : "" ; java . lang . String IDENT_3 = request . METHOD_1 ( STRING_0 ) ; if ( ! ( com . google . common . base . IDENT_4 . METHOD_3 ( IDENT_3 ) ) ) { try { long len = java . lang . Long . METHOD_4 ( IDENT_3 ) ; if ( len > 0 ) { IDENT_1 = java . lang . String . valueOf ( len ) ; } } catch ( java . lang . IDENT_5 ex ) { IDENT_6 . IDENT_7 . web . IDENT_8 . IDENT_9 . logger . warn ( STRING_3 , IDENT_3 ) ; } } return IDENT_1 ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_6 . IDENT_7 . web . IDENT_8 . IDENT_9 . METHOD_2 ( request , false ) )