コード例 #1
0
 public void CreateController()
 {
     repository = new Mock<ICommentsRepository>();
     controller = new CommentsController(repository.Object);
     result = controller.Create(comment);
 }