public void TestDeleteAll()
        {
            // Arrange
            const int            EXPECTED    = 0;
            const int            START_COUNT = 5;
            IPartyInvitesR       vRepository = new PartyInvitesR();
            List <GuestResponse> vList       = vRepository.GetAll();

            foreach (GuestResponse vRec in vList)
            {
                vRepository.Delete(vRec.Id);
            }
            int           vInitialCount = vRepository.Count();    // Should be zero
            GuestResponse vNewRec       = MakeNewRecord();

            vRepository.Add(vNewRec);
            vNewRec = MakeNewRecord();
            vRepository.Add(vNewRec);
            vNewRec = MakeNewRecord();
            vRepository.Add(vNewRec);
            vNewRec = MakeNewRecord();
            vRepository.Add(vNewRec);
            vNewRec = MakeNewRecord();
            vRepository.Add(vNewRec);
            int vStartCount = vRepository.Count();

            // Act
            vRepository.DeleteAll();

            // Assert
            vInitialCount.Should().Be(0);
            vStartCount.Should().Be(START_COUNT);
            vRepository.Count().Should().Be(EXPECTED);
        }
        public void TestDelete()
        {
            // Arrange
            const int EXPECTED = 0;

            PrepareStorage();
            GuestResponse  vNewRec       = MakeNewRecord();
            IPartyInvitesR vRepository   = new PartyInvitesR();
            int            vInitialCount = vRepository.Count();

            vRepository.Add(vNewRec);
            int vStartCount = vRepository.Count();

            // Act
            vRepository.Delete(vNewRec.Id);
            int vResult = vRepository.Count();

            // Assert
            vInitialCount.Should().Be(0);
            vStartCount.Should().Be(1);
            vResult.Should().Be(EXPECTED);
        }