METHOD_0 ( ) { IDENT_0 . METHOD_1 ( Operation . IDENT_1 ) ; org . oscm . app . IDENT_2 . data . FlowState IDENT_3 = null ; IDENT_3 = IDENT_4 . METHOD_2 ( STRING_0 , STRING_1 , IDENT_0 , STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . lang . String , org . oscm . app . IDENT_2 . controller . IDENT_5 , java . lang . String ) { java . lang . String IDENT_6 = paramHandler . METHOD_3 ( ) . METHOD_4 ( ) ; org . oscm . app . IDENT_7 . data . User user = IDENT_8 . METHOD_5 ( IDENT_9 . IDENT_10 , paramHandler . METHOD_6 ( ) ) ; java . lang . String IDENT_11 = user . METHOD_7 ( ) ; if ( Operation . IDENT_12 . equals ( paramHandler . METHOD_8 ( ) ) ) { java . lang . StringBuffer IDENT_13 = new java . lang . StringBuffer ( IDENT_8 . METHOD_9 ( ) ) ; try { IDENT_13 . append ( STRING_3 ) . append ( java . net . IDENT_14 . encode ( IDENT_15 , STRING_4 ) ) ; } catch ( java . io . IDENT_16 e ) { throw new org . oscm . app . IDENT_7 . exceptions . METHOD_10 ( e . getMessage ( ) ) ; } IDENT_13 . append ( STRING_5 ) . append ( IDENT_17 ) ; IDENT_13 . append ( STRING_6 ) ; java . lang . String subject = org . oscm . app . IDENT_2 . IDENT_18 . IDENT_19 . get ( IDENT_11 , STRING_7 , new java . lang . Object [ ] { IDENT_15 , IDENT_6 } ) ; java . lang . String IDENT_20 = paramHandler . METHOD_11 ( ) ; java . lang . String text = org . oscm . app . IDENT_2 . IDENT_18 . IDENT_19 . get ( IDENT_11 , STRING_8 , new java . lang . Object [ ] { IDENT_15 , IDENT_6 , IDENT_20 , IDENT_13 . toString ( ) } ) ; IDENT_8 . METHOD_12 ( java . util . Collections . singletonList ( mail ) , subject , text ) ; return org . oscm . app . IDENT_2 . data . FlowState . IDENT_21 ; } else if ( Operation . IDENT_1 . equals ( paramHandler . METHOD_8 ( ) ) ) { java . lang . String subject = org . oscm . app . IDENT_2 . IDENT_18 . IDENT_19 . get ( IDENT_11 , STRING_9 , new java . lang . Object [ ] { IDENT_15 , IDENT_6 } ) ; java . lang . String IDENT_20 = paramHandler . METHOD_11 ( ) ; java . lang . String text = org . oscm . app . IDENT_2 . IDENT_18 . IDENT_19 . get ( IDENT_11 , STRING_10 , new java . lang . Object [ ] { IDENT_15 , IDENT_6 , IDENT_20 } ) ; IDENT_8 . METHOD_12 ( java . util . Collections . singletonList ( mail ) , subject , text ) ; return org . oscm . app . IDENT_2 . data . FlowState . IDENT_22 ; } else if ( Operation . IDENT_23 . equals ( paramHandler . METHOD_8 ( ) ) ) { java . lang . String subject = org . oscm . app . IDENT_2 . IDENT_18 . IDENT_19 . get ( IDENT_11 , STRING_11 , new java . lang . Object [ ] { IDENT_15 , IDENT_6 } ) ; java . lang . String text = org . oscm . app . IDENT_2 . IDENT_18 . IDENT_19 . get ( IDENT_11 , STRING_12 , new java . lang . Object [ ] { IDENT_15 , IDENT_6 } ) ; IDENT_8 . METHOD_12 ( java . util . Collections . singletonList ( mail ) , subject , text ) ; return org . oscm . app . IDENT_2 . data . FlowState . IDENT_24 ; } return null ; }
org . junit . Assert . assertEquals ( FlowState . IDENT_22 , IDENT_3 )