public function testGetByNameAddress()
 {
     $nameAddressData = array('first_name' => 'Jerry', 'last_name' => 'Seinfeld', 'address' => '129 West 81st Street', 'city' => 'New York', 'state' => 'NY', 'zip_code' => '10024');
     $client = new NextCallerClient(null, null, true);
     $profiles = $client->getByNameAddress($nameAddressData);
     $this->assertEquals($profiles, json_decode(self::JSON_RESPONSE, true));
 }
<?php

require __DIR__ . '/vendor/autoload.php';
use NextCaller\NextCallerClient;
$user = "";
$password = "";
$nameAddressData = array('first_name' => 'Jerry', 'last_name' => 'Seinfeld', 'address' => '129 West 81st Street', 'city' => 'New York', 'state' => 'NY', 'zip_code' => '10024');
$sandbox = false;
$client = new NextCallerClient($user, $password, $sandbox);
try {
    $records = $client->getByNameAddress($nameAddressData);
    /* array(
            'id' => '97d949a413f4ea8b85e9586e1f2d9a',
            'first_name' => 'Jerry',
            'middle_name' => 'Allen',
            'last_name' => 'Seinfeld',
            'name' => 'Jerry Allen Seinfeld',
            'language' => 'English',
            'phone' => array(
                array(
                    'number' => '2125558383',
                    'resource_uri' => '/v2/records/2125558383/',
                )
            ),
            'carrier' => 'Verizon Wireless',
            'line_type' => 'Mobile',
            'address' => array(
                array(
                    'city' => 'New York',
                    'extended_zip' => '2344',
                    'country' => 'USA',