There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Make client functions overridable
Besides being useful for extensibility, many mocking frameworks require that functions be overridable.
An example from Moq:
User fakeUser = new User();
Mock<StackOverflowClient> mockClient = new Mock<StackOverflowClient>();
mockClient.Expect<User>(c => c.GetUser(userId)).Returns(fakeUser);