SevenShores\Hubspot\Tests\Integration\Resources\ContactPropertiesTest::createProperty PHP Method

createProperty() private method

* Lots of tests need an existing object to modify.
private createProperty ( )
    private function createProperty()
    {
        sleep(1);
        $response = $this->contactProperties->create(["name" => "t" . uniqid(), "label" => "A New Custom Property", "description" => "A new property for you", "groupName" => "contactinformation", "type" => "string", "fieldType" => "text", "formField" => false, "displayOrder" => 6, "options" => []]);
        $this->assertEquals(200, $response->getStatusCode());
        return $response;
    }