private IEnumerable findTheObjects(IStep containerStep, ITestContext context) { IEnumerable actuals = new object[0]; context.PerformAction(containerStep, () => { _befores.Each(x => x(containerStep, context)); actuals = context.Current <IEnumerable>(); }); return(actuals); }
private IEnumerable findTheObjects(IStep containerStep, ITestContext context) { IEnumerable actuals = new object[0]; context.PerformAction(containerStep, () => { _befores.Each(x => x(containerStep, context)); actuals = context.Current<IEnumerable>(); }); return actuals; }