METHOD_0 ( ) { java . lang . String s = STRING_0 ; java . lang . String expResult = STRING_1 ; java . lang . String result = org . IDENT_0 . utils . IDENT_1 . METHOD_1 ( s ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( ( s == null ) || ( ( s . length ( ) ) < 2 ) ) { return s ; } if ( ( s . trim ( ) . charAt ( ( ( s . length ( ) ) - 1 ) ) ) == STRING_2 ) { return org . IDENT_0 . utils . IDENT_1 . METHOD_1 ( s . substring ( 0 , ( ( s . length ( ) ) - 1 ) ) ) ; } else { return s . trim ( ) ; } }
org . junit . Assert . assertEquals ( expResult , result )