METHOD_0 ( ) { System . out . println ( STRING_0 ) ; org . IDENT_0 . IDENT_1 . tools . IDENT_2 page = new org . IDENT_0 . IDENT_1 . tools . METHOD_1 ( INT_0 , STRING_1 ) ; java . lang . String msg = STRING_2 ; java . lang . String expResult = STRING_1 ; java . lang . String result = org . IDENT_0 . IDENT_1 . tools . IDENT_3 . METHOD_2 ( page , msg ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . IDENT_0 . IDENT_1 . tools . METHOD_1 , java . lang . String ) { java . lang . String s = msg ; int IDENT_4 ; while ( ( IDENT_4 = s . indexOf ( org . IDENT_0 . IDENT_1 . tools . IDENT_3 . IDENT_5 ) ) >= 0 ) { final int IDENT_6 = s . indexOf ( STRING_3 , ( IDENT_4 + ( org . IDENT_0 . IDENT_1 . tools . IDENT_3 . IDENT_5 . length ( ) ) ) ) ; if ( IDENT_6 < 0 ) { break ; } final java . lang . String IDENT_7 = s . substring ( ( IDENT_4 + ( org . IDENT_0 . IDENT_1 . tools . IDENT_3 . IDENT_5 . length ( ) ) ) , IDENT_6 ) ; final java . lang . StringBuilder sb = new java . lang . StringBuilder ( s ) ; java . lang . String value ; if ( page == null ) { final java . lang . StringBuilder IDENT_8 = new java . lang . StringBuilder ( IDENT_7 . length ( ) ) ; IDENT_8 . METHOD_3 ( IDENT_7 . length ( ) ) ; for ( int i = 0 ; i < ( IDENT_8 . length ( ) ) ; i ++ ) { IDENT_8 . METHOD_4 ( i , STRING_4 ) ; } value = IDENT_8 . toString ( ) ; } else { final java . text . IDENT_9 IDENT_10 = new java . text . METHOD_5 ( IDENT_7 ) ; value = IDENT_10 . format ( page . METHOD_6 ( ) ) ; } sb . replace ( IDENT_4 , ( IDENT_6 + 1 ) , value ) ; s = sb . toString ( ) ; } if ( page == null ) { s = org . IDENT_0 . IDENT_1 . tools . IDENT_3 . replace ( s , org . IDENT_0 . IDENT_1 . tools . IDENT_3 . IDENT_11 , STRING_5 ) ; s = org . IDENT_0 . IDENT_1 . tools . IDENT_3 . replace ( s , org . IDENT_0 . IDENT_1 . tools . IDENT_3 . IDENT_12 , STRING_5 ) ; } else { s = org . IDENT_0 . IDENT_1 . tools . IDENT_3 . replace ( s , org . IDENT_0 . IDENT_1 . tools . IDENT_3 . IDENT_11 , java . lang . Integer . toString ( page . METHOD_6 ( ) ) ) ; s = org . IDENT_0 . IDENT_1 . tools . IDENT_3 . replace ( s , org . IDENT_0 . IDENT_1 . tools . IDENT_3 . IDENT_12 , page . METHOD_7 ( ) ) ; } return s ; }
org . junit . Assert . assertEquals ( expResult , result )