Exemple #1
0
        public void CreatePaymentTokenTest()
        {
            using (Tokenio.User.TokenClient tokenClient = TestUtil.CreateClient())
            {
                UserMember member = TestUtil.CreateMemberAndLinkAccounts(tokenClient);

                Assert.Equal(tokenClient.GetMemberBlocking(member.MemberId()).MemberId(), member.MemberId());

                member.DeleteMemberBlocking();


                Assert.Throws <AggregateException>(() =>
                                                   tokenClient.GetMemberBlocking(member.MemberId())

                                                   );
            }
        }