public void Test_IsNull() { IsNullSpecification s = new IsNullSpecification(); Assert.IsTrue(s.Test(null).Success); Assert.IsTrue(s.Test("").Success); // treat empty string as null Assert.IsFalse(s.Test(new object()).Success); Assert.IsFalse(s.Test(0).Success); }