private static Mock<IDbDependencyResolver> CreateMockResolver(IPilkington karl) { var mockResolver = new Mock<IDbDependencyResolver>(); mockResolver.Setup(m => m.GetService(It.IsAny<Type>(), It.IsAny<string>())).Returns(karl); return mockResolver; }
private static Mock <IDbDependencyResolver> CreateMockResolver(IPilkington karl) { var mockResolver = new Mock <IDbDependencyResolver>(); mockResolver.Setup(m => m.GetService(It.IsAny <Type>(), It.IsAny <string>())).Returns(karl); return(mockResolver); }