requesting the adressering aanschrijfwijze fields with fields
# language: en @gba Feature: requesting the adressering aanschrijfwijze fields with fields Background: Given the person with citizen service number '000000139' has the following data | naam | waarde | | geslachtsaanduiding (04.10) | M | | voornamen (02.10) | Jan Peter | | adellijke titel of predicaat (02.20) | JH | | voorvoegsel (02.30) | te | | geslachtsnaam (02.40) | Hoogh | | aanduiding naamgebruik (61.10) | E | And the person has a 'partner' with the following data | naam | waarde | | voornamen (02.10) | Anna Catharina | | adellijke titel of predicaat (02.20) | BS | | voorvoegsel (02.30) | van den | | geslachtsnaam (02.40) | Aedel | | datum huwelijkssluiting/aangaan geregistreerd partnerschap (06.10) | 20010809 | | plaats huwelijkssluiting/aangaan geregistreerd partnerschap (06.20) | 0518 | | land huwelijkssluiting/aangaan geregistreerd partnerschap (06.30) | 6030 | And the 'partner' has been changed to the following data | naam | waarde | | voornamen (02.10) | Anna Catharina | | adellijke titel of predicaat (02.20) | BS | | voorvoegsel (02.30) | van den | | geslachtsnaam (02.40) | Aedel | | datum ontbinding huwelijk/geregistreerd partnerschap (07.10) | 20211109 | Rule: For adressering.aanschrijfwijze in fields, other fields must be supplied Scenario Outline: <fields> has been requested When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000139 | | fields | <fields> | Then the response has a person with the following data | naam | waarde | | geslacht.code | M | | geslacht.omschrijving | man | And the person has the following 'naam' data | naam | waarde | | voornamen | Jan Peter | | adellijkeTitelPredicaat.code | JH | | adellijkeTitelPredicaat.omschrijving | jonkheer | | adellijkeTitelPredicaat.soort | predicaat | | voorvoegsel | te | | geslachtsnaam | Hoogh | | aanduidingNaamgebruik.code | E | | aanduidingNaamgebruik.omschrijving | eigen geslachtsnaam | And the response has a person with a 'partner' with the following 'naam' data | naam | waarde | | adellijkeTitelPredicaat.code | BS | | adellijkeTitelPredicaat.omschrijving | barones | | adellijkeTitelPredicaat.soort | titel | | voorvoegsel | van den | | geslachtsnaam | Aedel | And the 'partner' has the following 'aangaanHuwelijkPartnerschap' data | naam | waarde | | datum | 20010809 | And the 'partner' has the following 'ontbindingHuwelijkPartnerschap' data | naam | waarde | | datum | 20211109 | Examples: | fields | | adressering.aanschrijfwijze | | adressering.aanschrijfwijze.naam | Scenario: adresseringBinnenland.aanschrijfwijze.aanspreekvorm has been requested When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000139 | | fields | adresseringBinnenland.aanschrijfwijze.aanspreekvorm | Then the response has a person with the following data | naam | waarde | | geslacht.code | M | | geslacht.omschrijving | man | And the person has the following 'naam' data | naam | waarde | | adellijkeTitelPredicaat.code | JH | | adellijkeTitelPredicaat.omschrijving | jonkheer | | adellijkeTitelPredicaat.soort | predicaat | | aanduidingNaamgebruik.code | E | | aanduidingNaamgebruik.omschrijving | eigen geslachtsnaam | And the response has a person with a 'partner' with the following 'naam' data | naam | waarde | | adellijkeTitelPredicaat.code | BS | | adellijkeTitelPredicaat.omschrijving | barones | | adellijkeTitelPredicaat.soort | titel | And the 'partner' has the following 'aangaanHuwelijkPartnerschap' data | naam | waarde | | datum | 20010809 | And the 'partner' has the following 'ontbindingHuwelijkPartnerschap' data | naam | waarde | | datum | 20211109 | Scenario: the person has several current marriages or partnerships Given the person with citizen service number '000000012' has the following data | naam | waarde | | geslachtsnaam (02.40) | Maassen | | geslachtsaanduiding (04.10) | V | | aanduiding naamgebruik (61.10) | E | And the person has a 'partner' with the following data | geslachtsnaam (02.40) | datum huwelijkssluiting/aangaan geregistreerd partnerschap (06.10) | | Groen | 20201001 | And the person has a 'partner' with the following data | geslachtsnaam (02.40) | datum huwelijkssluiting/aangaan geregistreerd partnerschap (06.10) | | Geel | 20220414 | When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000012 | | fields | adressering.aanschrijfwijze | Then the response has a person with the following data | naam | waarde | | geslacht.code | V | | geslacht.omschrijving | vrouw | And the person has the following 'naam' data | naam | waarde | | geslachtsnaam | Maassen | | aanduidingNaamgebruik.code | E | | aanduidingNaamgebruik.omschrijving | eigen geslachtsnaam | Then the response has a person with a 'partner' with the following data | naam | waarde | | naam.geslachtsnaam | Groen | | aangaanHuwelijkPartnerschap.datum | 20201001 | And the person has a 'partner' with the following data | naam | waarde | | naam.geslachtsnaam | Geel | | aangaanHuwelijkPartnerschap.datum | 20220414 |