METHOD_0 ( ) { java . lang . String expected = STRING_0 ; java . lang . String source = STRING_1 ; when ( IDENT_0 . METHOD_1 ( source ) ) . thenReturn ( expected ) ; IDENT_1 . METHOD_2 ( IDENT_2 ) ; IDENT_1 . METHOD_3 ( source ) ; IDENT_1 . METHOD_4 ( ) ; java . lang . String output = ( ( org . springframework . mock . web . IDENT_3 ) ( IDENT_2 . METHOD_5 ( ) ) ) . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { try { java . lang . String message = ( collection . contains ( object ) ) ? IDENT_4 : IDENT_5 ; IDENT_2 . METHOD_7 ( ) . write ( message ) ; } catch ( java . io . IOException e ) { throw new javax . servlet . IDENT_6 . METHOD_8 ( e ) ; } return IDENT_7 ; }
org . junit . Assert . assertEquals ( output , expected )