not supplying an occupant with suspension of maintenance
#language: en @gba Feature: not supplying an occupant with suspension of maintenance Background: Given address 'A1' has the following data | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0800 | 0800010000000001 | Rule: persons with a removed personal record are not regarded as occupants Scenario: the person has a removed personal record Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | F | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeildatum | | peildatum | 2010-09-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Rule: persons on a logically deleted personal record are not regarded as occupants Scenario: the person is suspended with reason "W" (erasure) Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | W | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeildatum | | peildatum | 2010-09-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Rule: persons with suspension of maintenance with a designation other than "F" or "W" are not regarded as occupants after the date of suspension of maintenance Scenario Outline: the person is suspended with reason "<reden opschorting bijhouding>" (<reden opschorting omschrijving>) and the reference date falls before the date of suspension of maintenance Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | <reden opschorting bijhouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeildatum | | peildatum | 2022-08-28 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2022-08-28 tot 2022-08-29 | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000024 | Examples: | reden opschorting bijhouding | reden opschorting omschrijving | | O | overlijden | | E | emigratie | | M | ministerieel besluit | | R | pl is aangelegd in de rni | | . | onbekend | Scenario Outline: the person is suspended with reason "<reden opschorting bijhouding>" (<reden opschorting omschrijving>) and <scenario> Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | <reden opschorting bijhouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeildatum | | peildatum | <peildatum> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | reden opschorting bijhouding | reden opschorting omschrijving | peildatum | periode | scenario | | O | overlijden | 2022-08-29 | 2022-08-29 tot 2022-08-30 | peildatum ligt op datum opschorting bijhouding | | O | overlijden | 2022-09-01 | 2022-09-01 tot 2022-09-02 | peildatum ligt na datum opschorting bijhouding | | E | emigratie | 2022-08-29 | 2022-08-29 tot 2022-08-30 | peildatum ligt op datum opschorting bijhouding | | E | emigratie | 2022-09-01 | 2022-09-01 tot 2022-09-02 | peildatum ligt na datum opschorting bijhouding | | M | ministerieel besluit | 2022-08-29 | 2022-08-29 tot 2022-08-30 | peildatum ligt op datum opschorting bijhouding | | M | ministerieel besluit | 2022-09-01 | 2022-09-01 tot 2022-09-02 | peildatum ligt na datum opschorting bijhouding | | R | pl is aangelegd in de rni | 2022-08-29 | 2022-08-29 tot 2022-08-30 | peildatum ligt op datum opschorting bijhouding | | R | pl is aangelegd in de rni | 2022-09-01 | 2022-09-01 tot 2022-09-02 | peildatum ligt na datum opschorting bijhouding | | . | onbekend | 2022-08-29 | 2022-08-29 tot 2022-08-30 | peildatum ligt op datum opschorting bijhouding | | . | onbekend | 2022-09-01 | 2022-09-01 tot 2022-09-02 | peildatum ligt na datum opschorting bijhouding | Scenario Outline: <scenario> Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang> | And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | <datum opschorting bijhouding> | O | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeildatum | | peildatum | 2020-10-14 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2020-10-14 tot 2020-10-15 | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang | datum opschorting bijhouding | scenario | | 20201000 | 20201016 | datum aanvang heeft onbekende dag en peildatum valt binnen onzekerheidsperiode en voor datum opschorting | | 20200000 | 20201016 | datum aanvang heeft onbekende dag en maand en peildatum valt binnen onzekerheidsperiode en voor datum opschorting | | 00000000 | 20201016 | datum aanvang heeft onbekende dag en peildatum valt binnen onzekerheidsperiode en voor datum opschorting | Scenario Outline: <scenario> Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang> | And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | <datum opschorting bijhouding> | O | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeildatum | | peildatum | 2020-10-14 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang | datum opschorting bijhouding | scenario | | 20201000 | 20201012 | datum aanvang heeft onbekende dag en peildatum valt binnen onzekerheidsperiode en na datum opschorting | | 20200000 | 20200526 | datum aanvang heeft onbekende dag en maand en peildatum valt binnen onzekerheidsperiode en na datum opschorting | | 00000000 | 20190526 | datum aanvang heeft onbekende dag en peildatum valt binnen onzekerheidsperiode en na datum opschorting |