public static void Replace(this TestRepository repository, string path, string oldValue, string newValue) { repository.WriteFile(path, repository.ReadFile(path).Replace(oldValue, newValue)); }