Example #1
0
        public void ActivateMembership()
        {
            try
            {
                var membershipResult = _membershipActions.ActivateMembership() ? "Membership Activated" : "Error in activating membership";

                Console.WriteLine(membershipResult);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
                throw;
            }
        }
        public void ActivateMembershipWhenActivateMembershipCalled()
        {
            var result = _membershipActions.ActivateMembership();

            result.Should().BeTrue();
        }