Пример #1
0
        public void ThenACommentIsAddedToTheIssue()
        {
            IEnumerable <IComment> comments = StepHelper.GetComments(GetSavedIssue());
            IComment comment = comments.Single();

            Assert.That(comment.Text, Is.EqualTo(CommentText));
        }
        public void WhenIFetchTheCommentsForTheIssue()
        {
            IEnumerable <IComment> comments = StepHelper.GetComments(GetSavedIssue());

            ScenarioContext.Current.Set(comments);
        }