Example #1
0
        public void ShouldFormat()
        {
            IOrFilter filter;

            filter = new OrFilter(JobTable.Description.IsEqualTo("test"), JobTable.Description.IsEqualTo("test"));
            Assert.AreEqual(2, filter.Members.Count());
            Assert.AreEqual("(C1 OR C2)", filter.Format(new string[] { "C1", "C2" }));
        }