public async Task GetAllAsync_WhenCalled_ReturnNotNull() { // Arrange _repositoryMock .Setup(rep => rep.GetAllAsync()) .ReturnsAsync(TestData.GetAllBusinesses()); // Act var businesses = await _businessService.GetAllAsync(); // Assert Assert.NotNull(businesses); }