public void WhereCondition_AB() { WhereCondition wc = new WhereCondition() { Left = "A", Right = "B" }; string correctValue = "[A] = 'B'"; string testValue = wc.Build(); MyAssert.Equals(correctValue, testValue); }
public void WhereCondition_AisnotNULL() { WhereCondition wc = new WhereCondition() { Left = "A", Operator = "IS NOT", Right = "NULL" }; string correctValue = "[A] IS NOT NULL"; string testValue = wc.Build(); MyAssert.Equals(correctValue, testValue); }