public async Task GetDesignedBatteriesAsync_NoErrorsWhileQueryingDatabase_ReturnsResultWithSuccess() { //Arrange var setId = new Guid(new string('0', 32)); //Act var result = await _service.GetDesignedBatteriesAsync(setId); //Assert Assert.NotNull(result); Assert.True(result.IsSuccess); Assert.Null(result.Exception); Assert.NotNull(result.Output); Assert.True(result.Output.Count() == 1); Assert.Equal(result.Output.ToList()[0], _battery1); }