METHOD_0 ( ) { java . lang . String IDENT_0 = java . io . File . IDENT_1 ; java . lang . String base = ( ( ( IDENT_0 + STRING_0 ) + IDENT_0 ) + STRING_1 ) + IDENT_0 ; java . lang . String IDENT_2 = "foo" ; java . lang . String IDENT_3 = STRING_2 ; java . lang . String IDENT_4 = ( ( ( base + IDENT_2 ) + IDENT_0 ) + IDENT_3 ) + STRING_3 ; org . evosuite . IDENT_5 . IDENT_6 . IDENT_7 storage = new org . evosuite . IDENT_5 . IDENT_6 . METHOD_1 ( ) ; java . lang . String result = storage . METHOD_2 ( new java . io . File ( base ) , new java . io . File ( IDENT_4 ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . io . File , java . io . File ) { int len = base . getAbsolutePath ( ) . length ( ) ; java . lang . String path = target . getAbsolutePath ( ) ; java . lang . String name = path . substring ( ( len + 1 ) , ( ( path . length ( ) ) - ( STRING_3 . length ( ) ) ) ) ; name = name . replaceAll ( "/" , STRING_4 ) ; if ( name . contains ( STRING_5 ) ) { name = name . replaceAll ( STRING_6 , STRING_4 ) ; } return name ; }
org . junit . Assert . assertEquals ( ( ( IDENT_2 + STRING_4 ) + IDENT_3 ) , result )