SevenShores\Hubspot\Tests\Integration\Resources\EngagementsTest::associate PHP Метод

associate() публичный Метод

public associate ( )
    public function associate()
    {
        $engagement = $this->createEngagement();
        $contact = $this->contacts->create([]);
        $response = $this->engagements->associate($engagement->engagement->id, 'contact', $contact->vid);
        $this->assertEquals(204, $response->getStatusCode());
    }