public void CanGetPaymentProfile()
        {
            string expectedId;
            var cim = new CustomerInformationManager(TestHelper.TemplateFactory, ObjectMother.TestAuthentication);
            var createProfileResponse = cim.Create(_profileAttributes);

            _profileAttributes.GateWayId = createProfileResponse.Params["customerProfileId"];

            var createPaymentProfileResponse = cim.CreatePaymentProfile(_profileAttributes, _addressAttributes, _creditCardAttributes);

            _paymentProfileAttributes.GateWayId = createPaymentProfileResponse.Params["customerPaymentProfileId"];
            expectedId = createPaymentProfileResponse.Params["customerPaymentProfileId"];

            var getPaymentProfileResponse = cim.Get(_profileAttributes, _paymentProfileAttributes);
            Assert.IsTrue(getPaymentProfileResponse.Success);
            Assert.AreEqual(expectedId, getPaymentProfileResponse.Params["customerPaymentProfileId"].ToString());
        }
        public void CanGetCustomerProfile()
        {
            var expectedDescrioption = _profileAttributes.CustomerId;
            var expectedEmail = _profileAttributes.Email;

            var cim = new CustomerInformationManager(TestHelper.TemplateFactory, ObjectMother.TestAuthentication);

            var createProfileResponse = cim.Create(_profileAttributes);
            _profileAttributes.GateWayId = createProfileResponse.Params["customerProfileId"];

            var getProfileResponse = cim.Get(_profileAttributes);
            Assert.IsTrue(getProfileResponse.Success);
            Assert.AreEqual(expectedDescrioption, getProfileResponse.Params["Description"].ToString());
            Assert.AreEqual(expectedEmail, getProfileResponse.Params["Email"].ToString());
        }