public void ShouldUpdatePublisher() { var model = new UpdatePublisherModel { Description = "Description", EnglishDescription = "EnglishDescription", HomePage = "HomePage", Id = 1, IsContainEnglishTranslation = true }; _publisherServiceMock.Setup(m => m.Update(It.IsAny <int>(), It.IsAny <IDictionary <string, string> >(), It.IsAny <string>())); HttpResponseMessage response = _publishersController.Post(model); _publisherServiceMock.Verify(m => m.Update(It.IsAny <int>(), It.IsAny <IDictionary <string, string> >(), It.IsAny <string>()), Times.AtLeastOnce); Assert.AreEqual(HttpStatusCode.OK, response.StatusCode); }