示例#1
0
        public void It_should_throw_an_exception_for_a_null_range()
        {
            var exception = Assert.Throws <ArgumentNullException>(() => _DataTable.Shift(null, "B"));

            Assert.AreEqual($"Value cannot be null. (Parameter 'range')", exception.Message, exception.Message);
        }