public async Task Then_Gets_The_Providers_From_The_Repository(
            List <Domain.Entities.ProviderRegistration> providersFromRepository,
            [Frozen] Mock <IProviderRegistrationRepository> mockRepository,
            ProviderService service)
        {
            //Arrange
            mockRepository
            .Setup(repository => repository.GetAllProviders())
            .ReturnsAsync(providersFromRepository);

            //Act
            var actual = await service.GetRegisteredProviders();

            //Assert
            actual.Should().BeEquivalentTo(providersFromRepository.Select(provider => (ProviderSummary)provider));
        }