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