public async Task TestInsertOneStore() { var store = new Store() { Id = 1, Name = "abc", Address = "def", Region = "ghi" }; _storeRepoMock.Setup(x => x.Insert("abc")).Returns(Task.FromResult(store)).Verifiable(); var storeResponse = await _storesController.CreateStore(new StoreUpsertInput() { Name = "abc", Address = "def", Region = "ghi" }); storeResponse.Should().BeOfType <CreatedResult>(); Snapshot.Match(storeResponse); }