public async Task TestGetOneStoreHappyPath() { var store = new Store() { Id = 1, Name = "12", Address = "12", Region = "12" }; _storeRepoMock.Setup(x => x.GetOneStoreById(1)).Returns(Task.FromResult(store)).Verifiable(); var storeResponse = await _storesController.StoreById(1); storeResponse.Should().BeOfType <OkObjectResult>(); Snapshot.Match(storeResponse); }