Ejemplo n.º 1
0
        public void TestFixtureSetup()
        {
            String results;
            StreamReader testFile = null;
            try
            {
                testFile = new StreamReader(TEST_FILE);
                results = testFile.ReadToEnd();
            }
            finally
            {
                testFile.Close();
            }

            _response = MockRepository.GenerateMock<IRestResponse<UpdateResponse>>();
            _response.Stub(s => s.Content).Return(results);
        }