public void CreateController() { repository = new Mock<ICommentsRepository>(); controller = new CommentsController(repository.Object); result = controller.Create(comment); }