SevenShores\Hubspot\Tests\Integration\Resources\BlogsTest::getById PHP Метод

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

public getById ( )
    public function getById()
    {
        $blogs = $this->blogs->all(['limit' => 1]);
        $response = $this->blogs->getById($blogs->objects[0]->id);
        $this->assertEquals(200, $response->getStatusCode());
    }