public void FilteredAccountDetails_ContainsOnlyFilterCriteria()
        {
            membershipApplication.CreateMemberAccount(out string _);
            CBS           requestDirector = new CBS(connectionString);
            MemberAccount foundAccount    = requestDirector.GetAccountDetail(membershipApplication.ProspectiveMemberContactInfo.Email, DateTime.Today.AddDays(-29), DateTime.Today.AddDays(1));

            foundAccount.FilterAccountDetails("membership");

            Assert.All(foundAccount.Transactions, (Transaction tran) => tran.Description.Contains("membership"));
        }
        public void GetAccountDetails_NotEmpty(MembershipType membershipType)
        {
            membershipApplication = CreateAndRecordMembershipApplication(membershipType);
            membershipApplication.CreateMemberAccount(out string _);
            CBS           requestDirector = new CBS(connectionString);
            MemberAccount foundAccount    = requestDirector.GetAccountDetail(membershipApplication.ProspectiveMemberContactInfo.Email, DateTime.Today.AddDays(-29), DateTime.Today.AddDays(1));

            Assert.NotEmpty(foundAccount.Transactions);
            Assert.False(string.IsNullOrWhiteSpace(foundAccount.Name));
            Assert.False(string.IsNullOrWhiteSpace(foundAccount.MembershipLevel));
            Assert.NotNull(foundAccount.MembershipType);

            RemoveMemberAccount();
            RemoveMembershipApplication();
        }