Step definitions for specifying authority relationships
# language: en @integratie @stap-documentatie Feature: Step definitions for specifying authority relationships Rule: We refer to a person functionally by a name and technically by a citizen service number By default a person was born in the Netherlands with a Dutch birth certificate. Scenario: the person '{naam}' with citizen service number '{bsn}' Given the person 'P1' has the following data | burgerservicenummer (01.20) | geslachtsnaam (02.40) | | 000000012 | P1 | When the SQL statements generated from the Given steps have been executed Then person 'P1' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | P1 | 0 | And person 'P1' has the following rows in table 'lo3_pl_persoon' | pl_id | persoon_type | stapel_nr | volg_nr | burger_service_nr | geslachts_naam | | P1 | P | 0 | 0 | 000000012 | P1 | Scenario: '{naam}' is a minor Given the person 'P2' has the following data | burgerservicenummer (01.20) | geslachtsnaam (02.40) | | 000000012 | P2 | Given the person 'P1' has the following data | burgerservicenummer (01.20) | geslachtsnaam (02.40) | | 000000024 | P1 | And person 'P2' * is a minor When the SQL statements generated from the Given steps have been executed Then person 'P2' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | P2 | 0 | And person 'P2' has the following row in table 'lo3_pl_persoon' | pl_id | persoon_type | stapel_nr | volg_nr | burger_service_nr | geslachts_naam | geboorte_datum | | P2 | P | 0 | 0 | 000000012 | P2 | gisteren - 17 jaar | And person 'P1' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | P1 | 0 | And person 'P1' has the following row in table 'lo3_pl_persoon' | pl_id | persoon_type | stapel_nr | volg_nr | burger_service_nr | geslachts_naam | | P1 | P | 0 | 0 | 000000024 | P1 |