public static FactCheckMethod For <T>(T target, Expression <Func <T, bool> > expression) { var method = ReflectionHelper.GetMethod(expression); var grammar = new FactCheckMethod(method, target); grammar.Compile(new Fixture(), CellHandling.Basic()); return(grammar); }
public FactCheckPlan(StepValues values, FactCheckMethod grammar) : base(values) { _grammar = grammar; }