METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( true ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_1 . METHOD_3 ( ) ) . thenReturn ( IDENT_2 ) ; java . lang . String IDENT_3 = STRING_0 ; when ( IDENT_2 . METHOD_4 ( any ( de . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_1 . IDENT_7 . class ) ) ) . thenReturn ( IDENT_3 ) ; java . lang . String IDENT_8 = STRING_1 ; when ( IDENT_2 . METHOD_5 ( anyString ( ) ) ) . METHOD_6 ( new org . mockito . IDENT_9 . IDENT_10 < java . lang . String > ( ) { @ de . IDENT_4 . IDENT_5 . IDENT_6 . Override public java . lang . String METHOD_7 ( org . mockito . IDENT_11 . IDENT_12 IDENT_11 ) { java . lang . String html = ( ( java . lang . String ) ( IDENT_11 . METHOD_8 ( ) [ 0 ] ) ) ; return org . apache . commons . lang3 . StringUtils . replace ( html , STRING_2 , STRING_3 ) ; } } ) ; when ( IDENT_13 . get ( de . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_14 . IDENT_15 ) ) . thenReturn ( IDENT_1 ) ; java . lang . String IDENT_6 = ( STRING_4 + ( de . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_14 . IDENT_15 ) ) + STRING_4 0 ; java . lang . String result = IDENT_16 . METHOD_0 ( IDENT_6 , STRING_5 , STRING_6 , ( ( de . IDENT_4 . IDENT_5 . IDENT_17 . IDENT_18 ) + STRING_7 ) , authentication , Locale . IDENT_19 , de . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_14 . IDENT_20 ) ; java . lang . String IDENT_21 = ( STRING_8 + IDENT_8 ) + STRING_9 ; "<AssertPlaceHolder>" ; } METHOD_9 ( java . lang . String ) { return html . replaceAll ( STRING_10 , org . apache . commons . lang3 . StringUtils . IDENT_22 ) ; }
org . junit . Assert . assertEquals ( IDENT_21 , METHOD_9 ( result ) )