private ExampleGroupResult ExecuteExampleGroup(ExampleGroup exampleGroup)
        {
            var result = new ExampleGroupResult {
                Reason = exampleGroup.Reason
            };

            stratergyOption.Into(stratergy => stratergy.ExecuteAction(exampleGroup.BeforeAll));

            exampleGroup.Examples.ForEach(example => result.Examples.Add(ExecuteExample(exampleGroup, example)));

            stratergyOption.Into(stratergy => stratergy.ExecuteAction(exampleGroup.AfterAll));

            return(result);
        }
 public void BeforeAll(Action action)
 {
     currentExampleGroupOption.Into(currentExampleGroup => currentExampleGroup.BeforeAll = action);
 }