public void GetAddressTypes_NoAddressTypesFound_ReturnsAddressTypes(
            [Frozen] Mock <IReferenceDataApiClient> referenceDataApiClient,
            ReferenceDataService sut
            )
        {
            //Arrange
            referenceDataApiClient.Setup(x => x.GetAddressTypesAsync())
            .ReturnsAsync((List <AddressType>)null);

            //Act
            Func <Task> func = async() => await sut.GetAddressTypesAsync();

            //Assert
            func.Should().Throw <ArgumentNullException>()
            .WithMessage("Value cannot be null. (Parameter 'addressTypes')");
        }
        public async Task GetAddressTypes_AddressTypesFound_ReturnsAddressTypes(
            [Frozen] Mock <IReferenceDataApiClient> referenceDataApiClient,
            List <AddressType> addressTypes,
            ReferenceDataService sut
            )
        {
            //Arrange
            referenceDataApiClient.Setup(x => x.GetAddressTypesAsync())
            .ReturnsAsync(addressTypes);

            //Act
            var response = await sut.GetAddressTypesAsync();

            //Assert
            response.Count.Should().Be(3);
        }