Yes, but from the other hand we expect that patch contains the `testFile` (Single() doesn't check that it is file we expected, the reader will see that there is one file in the patch, but will not see that it is the right file) and we are not testing here that patch contains only files that we expect. If you would like to do that, then I would add another assertion `Assert.Equal(patch.Count(), 1);`