public void Then_Returns_Expected_Results() { ActualResult.Should().NotBeNull(); ActualResult.Count().Should().Be(3); var actualFirstResult = ActualResult.First(); var expectedFirstResult = expectedaApiResult.First(); expectedFirstResult.Id.Should().Be(actualFirstResult.Id); expectedFirstResult.DisplayName.Should().Be(actualFirstResult.DisplayName); }
public void Then_Returns_Expected_Results() { ActualResult.Should().NotBeNull(); ActualResult.Count().Should().Be(2); var expectedProviderDetailsResult = ApiClientResponse.FirstOrDefault(); var actualProviderDetailsResult = ActualResult.FirstOrDefault(); actualProviderDetailsResult.Should().NotBeNull(); actualProviderDetailsResult.ProviderId.Should().Be(expectedProviderDetailsResult.Id); actualProviderDetailsResult.DisplayName.Should().Be(expectedProviderDetailsResult.DisplayName); actualProviderDetailsResult.Ukprn.Should().Be(expectedProviderDetailsResult.Ukprn); }