public void Comment_should_record_comment_in_currently_executed_step()
 {
     var runner = new TestableBDDRunner(GetType(), MockRepository.GenerateMock<IProgressNotifier>());
     var comment = "abc";
     runner.RunScenario(_ => Commented_step(comment));
     Assert.That(runner.Result.Scenarios.Single().Steps.Single().Comments.ToArray(), Is.EqualTo(new[] { comment }));
 }
 public void Comment_should_ignore_empty_comments(string comment)
 {
     var runner = new TestableBDDRunner(GetType(), MockRepository.GenerateMock<IProgressNotifier>());
     runner.RunScenario(_ => Commented_step(comment));
     Assert.That(runner.Result.Scenarios.Single().Steps.Single().Comments.ToArray(), Is.Empty);
 }