SevenShores\Hubspot\Tests\Integration\Resources\ContactListsTest::createList PHP Method

createList() private method

* Lots of tests need an existing object to modify.
private createList ( )
    private function createList()
    {
        sleep(1);
        $response = $this->contactLists->create(['name' => 'Test ' . uniqid(), 'dynamic' => true, 'portalId' => 62515, 'filters' => [[['operator' => 'EQ', 'value' => '@hubspot', 'property' => 'twitterhandle', 'type' => 'string']]]]);
        $this->assertEquals(200, $response->getStatusCode());
        return $response;
    }