public function testGetData()
 {
     $data = $this->request->getData();
     $card = $this->getValidCard();
     $this->assertEquals('28775801', $data->customerProfileId);
     $this->assertEquals($card['number'], $data->paymentProfile->payment->creditCard->cardNumber);
     $this->assertEquals('testMode', $data->validationMode);
 }
 /**
  * Makes an update profile request
  *
  * @param $parameters
  *
  * @return CIMCreateCardResponse
  */
 public function makeUpdatePaymentProfileRequest($parameters)
 {
     $obj = new CIMUpdatePaymentProfileRequest($this->httpClient, $this->httpRequest);
     $obj->initialize(array_replace($this->getParameters(), $parameters));
     return $obj->send();
 }