public void _EvalExpr_ThrowsWhenNotRecognizedType() { Expression <Func <TestLdapModel, bool> > e = (TestLdapModel u) => u.SamAccountName.Contains("asdf"); Assert.Throws <NotImplementedException>(() => Core.EvalExpr(e.Body, e.Parameters)); }