METHOD_0 ( ) { System . out . println ( STRING_0 ) ; java . lang . String IDENT_0 = STRING_1 ; java . lang . String expResult = STRING_2 ; java . lang . String result = org . IDENT_1 . IDENT_2 . util . IDENT_3 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { final int IDENT_4 = IDENT_0 . indexOf ( STRING_3 ) ; if ( IDENT_4 == ( - 1 ) ) { return IDENT_0 ; } else { return IDENT_0 . substring ( 0 , IDENT_4 ) ; } }
org . junit . Assert . assertEquals ( expResult , result )