Ejemplo n.º 1
0
        public void BuildTransport(string[][] fileNameTuples)
        {
            StubTransport newTransport = new StubTransport();

            foreach (string[] fileNameTuple in fileNameTuples)
            {
                newTransport.AddMockedresponse(fileNameTuple[0], fileNameTuple[1]);
            }

            _client.Transport = newTransport;
        }
Ejemplo n.º 2
0
        private void CreateTransport(string[][] fileNameTuples)
        {
            StubTransport newTransport = new StubTransport();

            foreach (string[] fileNameTuple in fileNameTuples)
            {
                newTransport.AddMockedresponse(fileNameTuple[0], fileNameTuple[1]);
            }

            Client.Transport = newTransport;
        }