private void TestDateRange(DateRange range, bool shouldContain)
 {
     IList result = sess.CreateCriteria(typeof (MockPersistantClass))
         .Add(range.WithinExpression("Range"))
         .List();
     Assert.AreEqual(shouldContain, result.Contains(sess.Get<MockPersistantClass>(m.Id)));
 }