I have a class PhotoOrganiser and am trying to unit test its method SortAll. This method calls another method in the class, MovePhoto.
What is the correct way to go about this? Using Moq, I have mocked out the other classes SortAll references, but as far as I can see there is no way to mock just one method on an object without mocking the object itself. Is the cleanest way to do this simply to create a new subclass which overrides MovePhoto?
Moqsupports it.