public void Finish()
        {
            var storyService = new Mock<IStoryProvider>();

            var storyId = 1;
            var projectId = 3;

            var anotherStory = new Story() { Status = StoryStatus.Finished };

            IterationType iterationType = IterationType.Undefined;
            storyService.Setup(e => e.FinishStory(projectId, storyId, iterationType)).Returns(anotherStory);
            var controller = new StoriesController(storyService.Object);
            var result = controller.Finish(projectId, storyId, (int)iterationType);
            var viewResult = result as PartialViewResult;
            Assert.NotNull(viewResult);
            Assert.IsInstanceOf<StoryRowViewModel>(viewResult.Model);
            Assert.AreEqual(((StoryRowViewModel)viewResult.Model).Story, anotherStory);
            storyService.Verify();
        }