public void test_THAT_gt_expression_IS_valid() { var analyzer = new GtAnalyzer(null, null); Expression <Func <SPListItem, bool> > expr = x => (int)x["Count"] > 1; Assert.That(analyzer.IsValid(expr), Is.True); }