I don't understand, this test was present in GitExtensions project. Here is as it looked before it was removed https://github.com/gitextensions/gitextensions/blob/f19e288019beecdb8930dd1d459fd8876d89e521/GitCommandsTests/PatchManagerTest.cs.