public void RenameRemote() { const string oldName = "foo"; const string newName = "far"; const string output = "bar"; using (_executable.StageOutput($"remote rename \"{oldName}\" \"{newName}\"", output)) { Assert.AreEqual(output, _gitModule.RenameRemote(oldName, newName)); } }