func (_m *FS) Rename(oldpath string, newpath string) error {
	ret := _m.Called(oldpath, newpath)

	var r0 error
	if rf, ok := ret.Get(0).(func(string, string) error); ok {
		r0 = rf(oldpath, newpath)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}
// Rename provides a mock function with given fields: oldpath, newpath
Rename provides a mock function with given fields: oldpath, newpath
// Rename provides a mock function with given fields : oldpath newpath
func (_m *FS) Rename(oldpath string, newpath string) error {
	ret := _m.Called(oldpath, newpath)
	var r0 error
	if rf, ok := ret.Get(0).(func(string, string) error); ok {
		r0 = rf(oldpath, newpath)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func ( _m * FS ) Rename ( oldpath string , newpath string ) error { ret := _m . Called ( oldpath , newpath ) var r0 error if rf , ok := ret . Get ( 0 ) . ( func ( string , string ) error ) ; ok { r0 = rf ( oldpath , newpath ) } else { r0 = ret . Error ( 0 ) } return r0 }
Rename provides a mock function with given fields: oldpath, newpath
Rename provides a mock function with given fields : oldpath newpath