composing address lines where one or more verblijfplaats fields have the default value
#language: en Feature: composing address lines where one or more verblijfplaats fields have the default value As a consumer of the BRP bevragen API I want the residence data of a person to be requestable in accordance with NEN 5825:2002 So that I can use the address data of the person correctly Rule: address lines for an address are not supplied where 'straatnaam (11.10)' or 'huisnummer (11.20)' have the default value Scenario Outline: the person has an address with <omschrijving> Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | functie adres (10.10) | | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | | 0518 | <straatnaam> | <huisnummer> | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1,adressering.adresregel2,adressering.adresregel3,adressering.land | Then the response has a person without data Examples: | straatnaam | huisnummer | omschrijving | | | 88 | een lege straatnaam | | . | 88 | een straatnaam met standaardwaarde | | Jonkheer van Riemsdijkln | 0 | een huisnummer met standaardwaarde | Rule: address lines for a residence abroad are not supplied where 'land (13.10)' has the default value or where 'regel 1 adres buitenland (13.30)', 'regel 2 adres buitenland (13.40)' and 'regel 3 adres buitenland (13.50)' have the default value Scenario: the person has a verblijfplaats buitenland and 'land (13.10)' has the default value Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 1 adres buitenland (13.30) | regel 2 adres buitenland (13.40) | regel 3 adres buitenland (13.50) | | 0000 | Rue du pomme 26 | Bruxelles | postcode 1000 | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1,adressering.adresregel2,adressering.adresregel3,adressering.land | Then the response has a person without data Scenario: the person has a verblijfplaats buitenland and 'regel 1 adres buitenland (13.30)', 'regel 2 adres buitenland (13.40)' and 'regel 3 adres buitenland (13.50)' have the default value Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 1 adres buitenland (13.30) | regel 2 adres buitenland (13.40) | regel 3 adres buitenland (13.50) | | 0000 | | | | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1,adressering.adresregel2,adressering.adresregel3,adressering.land | Then the response has a person without data