METHOD_0 ( ) { doReturn ( IDENT_0 ) . when ( IDENT_1 ) . METHOD_1 ( ) ; java . lang . String IDENT_2 = STRING_0 ; doReturn ( IDENT_2 ) . when ( IDENT_1 ) . METHOD_2 ( ) ; doReturn ( IDENT_3 ) . when ( IDENT_1 ) . METHOD_3 ( ) ; java . lang . String IDENT_4 = IDENT_5 . METHOD_4 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( io . IDENT_6 . content . mail . services . IDENT_7 ) { java . lang . String IDENT_4 = "" ; java . lang . Object content = IDENT_8 . METHOD_1 ( ) ; if ( ! ( content instanceof io . IDENT_6 . content . mail . services . IDENT_9 ) ) { if ( ( ( IDENT_10 ) && ( ( IDENT_8 . METHOD_5 ( ) ) != null ) ) && ( IDENT_8 . METHOD_5 ( ) . equals ( io . IDENT_6 . content . mail . services . IDENT_11 . IDENT_12 ) ) ) { IDENT_8 = METHOD_6 ( ( ( javax . mail . IDENT_13 . IDENT_14 ) ( IDENT_8 ) ) ) ; } if ( ( ( ( IDENT_8 . METHOD_2 ( ) ) != null ) && ( ! ( IDENT_8 . METHOD_2 ( ) . equals ( "" ) ) ) ) && ( ( IDENT_8 . METHOD_3 ( ) ) != null ) ) { java . lang . String IDENT_15 = IDENT_8 . METHOD_2 ( ) ; if ( ( IDENT_15 . indexOf ( STRING_1 ) ) == ( - 1 ) ) { return IDENT_15 ; } return IDENT_15 . substring ( IDENT_15 . indexOf ( STRING_2 ) , ( ( IDENT_15 . length ( ) ) - ( new java . lang . StringBuilder ( IDENT_15 ) . METHOD_7 ( ) . indexOf ( STRING_2 ) ) ) ) ; } } else { io . IDENT_6 . content . mail . services . IDENT_9 IDENT_16 = ( ( io . IDENT_6 . content . mail . services . IDENT_9 ) ( content ) ) ; for ( int i = 0 , n = IDENT_16 . METHOD_8 ( ) ; i < n ; i ++ ) { if ( ! ( "" . equals ( IDENT_4 ) ) ) { IDENT_4 += io . IDENT_6 . content . mail . services . IDENT_11 . IDENT_17 ; } IDENT_4 += METHOD_4 ( IDENT_16 . METHOD_9 ( i ) ) ; } } return IDENT_4 ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_4 )