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 TestGetAll()
        {
            // Arrange
            const int COUNT = 5;

            PrepareStorage();
            IPartyInvitesR vRepository = new PartyInvitesR();

            GuestResponse[] vNewRec = new GuestResponse[5];
            for (int vLcv = 0; vLcv < COUNT; vLcv++)
            {
                vNewRec[vLcv] = MakeNewRecord();
                vRepository.Add(vNewRec[vLcv]);
            }

            // Act
            List <GuestResponse> vResult = vRepository.GetAll();

            // Assert
            for (int vLcv = 0; vLcv < COUNT; vLcv++)
            {
                vResult[vLcv].Id.Should().Be(vNewRec[vLcv].Id);
                vResult[vLcv].Email.Should().Be(vNewRec[vLcv].Email);
                vResult[vLcv].Name.Should().Be(vNewRec[vLcv].Name);
                vResult[vLcv].Phone.Should().Be(vNewRec[vLcv].Phone);
                vResult[vLcv].WillAttend.Should().Be(vNewRec[vLcv].WillAttend);
            }
        }