Esempio n. 1
0
        public void CloseClosesTheTextReader()
        {
            TextReader mockTextReader = Mocks.StrictMock<TextReader>();
            mockTextReader.Close();

            Mocks.ReplayAll();

            CsvReader reader = new CsvReader(mockTextReader);
            reader.Close();
        }