public void TestContainsAllValuesFilter() { ContainsAllValuesFilter v1 = new ContainsAllValuesFilter(ConnectorAttributeBuilder.Build("foo", "bar", "foo")); ContainsAllValuesFilter v2 = (ContainsAllValuesFilter)CloneObject(v1); Assert.AreEqual(v1.GetAttribute(), v2.GetAttribute()); }
public void TestContainsAllValuesFilter() { ContainsAllValuesFilter v1 = new ContainsAllValuesFilter(ConnectorAttributeBuilder.Build("foo", "bar", "foo")); ContainsAllValuesFilter v2 = (ContainsAllValuesFilter)CloneObject(v1); Assert.AreEqual(v1.GetAttribute(), v2.GetAttribute()); }
protected override String CreateContainsAllValuesExpression(ContainsAllValuesFilter filter, bool not) { String rv = "( CONTAINS-ALL-VALUES " + filter.GetAttribute() + " )"; return(Not(rv, not)); }