SevenShores\Hubspot\Tests\Integration\Resources\BlogPostsTest::all_with_params PHP Method

all_with_params() public method

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