public PreConfiguredServerTests() { var testRunValues = new TestRunValues(); _server = new Server { Services = { BindService(new DumbPipeServiceImplementation(new EchoValueService())) }, Ports = { new ServerPort(testRunValues.Host, testRunValues.Port, testRunValues.ServerCredentials) } }; _channel = new Channel(testRunValues.HostAddress, testRunValues.ClientCredentials); _client = new SampleServiceClient(_channel); }
public AddSimpleServiceImplementationTests() { _testRunValues = new TestRunValues(); _channel = new Channel(_testRunValues.HostAddress, _testRunValues.ClientCredentials); _client = new SampleServiceClient(_channel); }