public async Task Index_UpdateOrganisationPostAddsOrganisationAndReturnsRedirect() { var organisationName = "org1"; var tradingName = "trading1"; var result = await _controller.UpdateOrganisation(new OrganisationViewModel { OrganisationName = organisationName, TradingName = tradingName }); await _partyRespository.Received().AddOrganisation(Arg.Is <Organisation>(o => o.OrganisationName == organisationName && o.TradingName == tradingName)); Assert.IsTrue(result is RedirectToActionResult); }