示例#1
0
        public void TestDeserializeEnumerable()
        {
            var csvSerializer = new CsvSerializer();

            var content = CreateContent();

            var expected = CreateRecords();

            var actual = csvSerializer.DeserializeEnumerable <Customer>(content);

            AssertUtilities.Equal(expected, actual);

            Assert.IsType <List <Customer> >(actual);
        }