public void Test_IsSatisfiedBy_IsNull() { var sc = new SearchCondition<object>(); sc.IsNull(); Assert.IsTrue(sc.IsSatisfiedBy(null)); Assert.IsFalse(sc.IsSatisfiedBy(new object())); }
public void Test_IsSatisfiedBy_IsNull_Null() { var sc = new SearchCondition<object>(); //expect same behaviour as SQL sc.IsNull(); Assert.IsTrue(sc.IsSatisfiedBy(null)); }
public void Test_IsNull() { var sc = new SearchCondition<object>(); sc.IsNull(); Assert.AreEqual(0, sc.Values.Length); Assert.AreEqual(SearchConditionTest.Null, sc.Test); }