public void False() { Assert.Throws <ArgumentNullException>(() => Assert.False(null as Func <bool>)); Assert.DoesNotThrow(() => Assert.False(false)); Assert.DoesNotThrow(() => Assert.False(() => false)); Assert.ThrowsExact <AssertionException>(() => Assert.False(true)); Assert.ThrowsExact <AssertionException>(() => Assert.False(null as bool?)); Assert.ThrowsExact <AssertionException>(() => Assert.False(() => true)); Assert.ThrowsExact <AssertionException>(() => Assert.False(() => null as bool?)); }