public void ToStringEscapeQuotesTest() { LessThanOrEqualToString condition = new LessThanOrEqualToString() { Field = "VENDORNAME", Value = "Bob's Pizza, Inc.", }; Assert.Equal("VENDORNAME <= 'Bob\'s Pizza, Inc.'", condition.ToString()); }
public void ToStringTest() { LessThanOrEqualToString condition = new LessThanOrEqualToString() { Field = "VENDORID", Value = "V1234", }; Assert.Equal("VENDORID <= 'V1234'", condition.ToString()); }
public void ToStringNotTest() { LessThanOrEqualToString condition = new LessThanOrEqualToString() { Negate = true, Field = "VENDORID", Value = "V1234", }; Assert.Equal("NOT VENDORID <= 'V1234'", condition.ToString()); }