SevenShores\Hubspot\Tests\Integration\Resources\ContactsTest::createContact PHP Method

createContact() private method

* Lots of tests need an existing object to modify.
private createContact ( )
    private function createContact()
    {
        sleep(1);
        $response = $this->contacts->create([['property' => 'email', 'value' => 'rw_test' . uniqid() . '@hubspot.com'], ['property' => 'firstname', 'value' => 'joe'], ['property' => 'lastname', 'value' => 'user']]);
        $this->assertEquals(200, $response->getStatusCode());
        return $response;
    }