Esempio n. 1
0
        public void IsNothingShouldReturnTrueForAValueTypeThatIsEmpty()
        {
            var theObject = new DateTime();

            Assert.That(theObject.IsNothing());
        }
Esempio n. 2
0
        public void IsNothingShouldReturnFalseForAValueTypeThatIsNotEmpty()
        {
            var theObject = new DateTime(1984, 1, 1);

            Assert.That(theObject.IsNothing(), Is.False);
        }