public async Task TestUpdateOneStoreHappyPath() { var store = new Store() { Id = 1, Name = "jkl", Address = "mno", Region = "pqr" }; _storeRepoMock.Setup(x => x.Update(1, "jkl", "mno", "pqr")).Returns(Task.FromResult(store)).Verifiable(); var storeResponse = await _storesController.UpdateStore(1, new StoreUpsertInput() { Name = "jkl", Address = "mno", Region = "pqr" }); storeResponse.Should().BeOfType <AcceptedResult>(); Snapshot.Match(storeResponse); }