public async Task Create_POST_FailedResponse() { // arrange MockHostingEnvironment.Setup(x => x.WebRootPath).Returns(""); MockLanguageService.Setup_CreateLanguage_Returns_LanguageCreateResponse_Failed(); var model = GetLanguageOneCreateModel(); // act var result = await SystemUnderTest.Create(model); // assert AssertErrorMessagesForInvalidOrFailedResponse <LanguageCreateModel>(result); MockLanguageService.Verify_CreateLanguage(); }