Mid Testing How do you create a mock object using Moq? var mockService = new Mock<IService>(); var service = mockService.Object; // use this in your test