public static void StartServer(TestContext context) { ts = new MockService(); ts.Port = 9999; ts.LogOutput = null; ts.OpenBrowserOnStart = false; ts.Start(); wc = new WebClient(); }
private void CreateResolver() { mockService = new MockService(); mockServices = new List<MockService> { mockService }; mockResolver = new MockResolver(); mockResolver.GetServiceDelegate = () => mockService; mockResolver.GetServicesDelegate = () => mockServices; }
private void CreateResolver() { mockService = new MockService(); mockServices = new List<MockService> { mockService }; mockResolver = new MockReflectionResolver(); mockResolver.GetInstanceDelegate = () => mockService; mockResolver.GetAllInstancesDelegate = () => mockServices; }