[TestMethod] public void TinyTest() { var i = new Int32?(); i = null; Assert.IsFalse(i.HasValue); } /* This test will pass because i.HasValue will not throw a null reference exception; a “nullable” has the ability to be null and not throw such exceptions. */