StoryTeller.Engine.Sets.SetVerificationGrammar.findTheObjects C# (CSharp) Method

findTheObjects() private method

private findTheObjects ( IStep containerStep, ITestContext context ) : IEnumerable
containerStep IStep
context ITestContext
return IEnumerable
        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;
        }