Example #1
0
            public void ShouldThrowExceptionIfTablesIsNull2()
            {
                // Arrange
                var engine = new DataSerializerEngine();

                // Assert
                Assert.Throws <ArgumentNullException>(() => engine.DeserializeDataSet(Mock.Of <Stream>(), (IEnumerable <string>)null));
            }
Example #2
0
            public void ShouldThrowExceptionIfStreamIsNull1()
            {
                // Arrange
                var engine = new DataSerializerEngine();

                // Assert
                Assert.Throws <ArgumentNullException>(() => engine.DeserializeDataSet(null, "foo"));
            }