Пример #1
0
        public virtual void AssertQueryResult(int expected, IQueryConstrainer
                                              constrainer)
        {
            var query = NewQuery(typeof(IIData));

            constrainer.Constrain(query);
            Assert.AreEqual(expected, query.Execute().Count);
        }
Пример #2
0
 public virtual void AssertQueryResult(int expected, IQueryConstrainer
     constrainer)
 {
     var query = NewQuery(typeof (IIData));
     constrainer.Constrain(query);
     Assert.AreEqual(expected, query.Execute().Count);
 }