public void ShouldCreatePublisher() { var model = new CreatePublisherModel { CompanyName = "CompanyName", Description = "Description", EnglishDescription = "EnglishDescription", HomePage = "HomePage", IsContainEnglishTranslation = true }; _publisherServiceMock.Setup(m => m.Create(It.IsAny <string>(), It.IsAny <IDictionary <string, string> >(), It.IsAny <string>())); HttpResponseMessage response = _publishersController.Put(model); _publisherServiceMock.Verify(m => m.Create(It.IsAny <string>(), It.IsAny <IDictionary <string, string> >(), It.IsAny <string>()), Times.AtLeastOnce); Assert.AreEqual(HttpStatusCode.Created, response.StatusCode); }