SevenShores\Hubspot\Tests\Integration\Resources\BlogPostsTest::all_with_params_and_array_access PHP Метод

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

    public function all_with_params_and_array_access()
    {
        $response = $this->blogPosts->all(['limit' => 2, 'offset' => 3]);
        $this->assertEquals(200, $response->getStatusCode());
        $this->assertLessThanOrEqual(2, count($response['objects']));
        $this->assertGreaterThanOrEqual(3, $response['offset']);
    }