Searching within the municipality
# language: en Feature: Searching within the municipality As a municipality I want to find only persons who are registered in my municipality Background: Given address 'A1' in municipality 'Rotterdam' And 'Robin', born on 26-05-1983 * has the following data | geslachtsnaam (02.40) | | Maassen | And 'Robin' was registered at address 'A1' 3 years ago Rule: the optional parameter 'gemeenteVanInschrijving' must be supplied in order to search within the municipality only Scenario Outline: the municipality of registration supplied matches the municipality of registration of persons matching the other search criteria supplied When 'burgerservicenummer' is requested for persons searched by <zoek criteria> and parameters | gemeenteVanInschrijving | | 0599 | Then 'Robin' is found Examples: | zoek criteria | | adresseerbaar object identificatie van 'A1' | | burgerservicenummer van 'Robin' | | geslachtsnaam en geboortedatum van 'Robin' | | nummeraanduiding identificatie van 'A1' | | postcode en huisnummer van 'A1' | Scenario Outline: the municipality of registration supplied does not match the municipality of registration of persons matching the other search criteria supplied When 'burgerservicenummer' is requested for persons searched by addressable object identification of 'A1' and parameters | gemeenteVanInschrijving | | 0518 | Then no persons are found Examples: | zoek criteria | | adresseerbaar object identificatie van 'A1' | | burgerservicenummer van 'Robin' | | geslachtsnaam en geboortedatum van 'Robin' | | nummeraanduiding identificatie van 'A1' | | postcode en huisnummer van 'A1' |