requesting naam fields with fields (GezagPersoonBeperkt)
#language: en @gba Feature: requesting naam fields with fields (GezagPersoonBeperkt) Scenario: 'voorletters' is requested with field path 'naam.voorletters' Given the person with citizen service number '000000413' has the following data | naam | waarde | | geslachtsnaam (02.40) | Maassen | | geboortedatum (03.10) | 19830526 | | voornamen (02.10) | Jan Pieter | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | | 0599 | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0599 | 0599010051001502 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetAdresseerbaarObjectIdentificatie | | adresseerbaarObjectIdentificatie | 0599010051001502 | | fields | naam.voorletters | Then the response has a person with only the following 'naam' data | naam | waarde | | voornamen | Jan Pieter | Scenario Outline: 'volledige naam' is requested with field path '<fields>' Given the person with citizen service number '000000152' has the following data | naam | waarde | | geslachtsaanduiding (04.10) | V | | geslachtsnaam (02.40) | Maassen | | geboortedatum (03.10) | 19830526 | | voorvoegsel (02.30) | van den | | voornamen (02.10) | Jan Pieter | | adellijke titel of predicaat (02.20) | JH | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | | 0599 | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0599 | 0599010051001502 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetAdresseerbaarObjectIdentificatie | | adresseerbaarObjectIdentificatie | 0599010051001502 | | fields | <fields> | 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 | | voorvoegsel | van den | | voornamen | Jan Pieter | | adellijkeTitelPredicaat.code | JH | | adellijkeTitelPredicaat.soort | predicaat | | adellijkeTitelPredicaat.omschrijving | jonkheer | Examples: | fields | | naam.volledigeNaam | | naam |