public void EvalFail(String exp) { var dic = new Dictionary <String, Object>(StringComparer.OrdinalIgnoreCase) { ["SiteIds"] = new[] { 2, 4, 8, 16 }, ["userid"] = 1234 }; var builder = new WhereBuilder { Factory = Log.Meta.Factory, Expression = exp, }; builder.SetData(dic); builder.SetData2(dic); var log = new Log { LinkID = 17, CreateUserID = 1235 }; var rs = builder.Eval(log); Assert.False(rs); }