Example #1
0
 public function testGetCustomers()
 {
     $responses = $this->client->getCustomers();
     $data = Util::parseResponses($responses);
     $customers = [];
     foreach ($data as $res) {
         $customers = array_merge($customers, $res['Customers']);
     }
     var_dump($customers);
     $this->assertNotEmpty($customers);
     $this->assertArrayHasKey('Address1', $customers[0]);
 }