public function testGetCustomerProfileIds()
 {
   // Create new customer profile
   $request = new AuthorizeNetCIM;
   $customerProfile = new AuthorizeNetCustomer;
   $customerProfile->description = "Description of customer";
   $customerProfile->merchantCustomerId = time().rand(1,10);
   $customerProfile->email = "*****@*****.**";
   $response = $request->createCustomerProfile($customerProfile);
   $this->assertTrue($response->isOk());
   $customerProfileId = $response->getCustomerProfileId();
   
   $response = $request->getCustomerProfileIds();
   $this->assertTrue($response->isOk());
   $this->assertTrue(in_array($customerProfileId, $response->getCustomerProfileIds()));
   
   
 }
 public function testGetCustomerProfileIds()
 {
     // A valid response should be received when a merchant has zero customer profiles...
     // Hence, first testing using specific credentials for a merchant which has zero customer profiles...
     $request = new AuthorizeNetCIM('5KP3u95bQpv', '4Ktq966gC55GAX7S');
     $response = $request->getCustomerProfileIds();
     // Create new customer profile
     $request = new AuthorizeNetCIM();
     $customerProfile = new AuthorizeNetCustomer();
     $customerProfile->description = "Description of customer";
     $customerProfile->merchantCustomerId = time() . rand(1, 100);
     $customerProfile->email = "*****@*****.**";
     $response = $request->createCustomerProfile($customerProfile);
     $this->assertTrue($response->isOk());
     $customerProfileId = $response->getCustomerProfileId();
     $response = $request->getCustomerProfileIds();
     $this->assertTrue($response->isOk());
     $this->assertTrue(in_array($customerProfileId, $response->getCustomerProfileIds()));
 }