public function related($pinId, $limit = Pagination::DEFAULT_LIMIT) { return $this->getFeed(['pin' => $pinId], UrlBuilder::RESOURCE_RELATED_PINS, $limit); }
/** @test */ public function it_should_return_generator_for_related_pins() { $this->apiShouldReturnPagination()->apiShouldReturnEmpty(); $pinId = 1; $res = $this->provider->related($pinId); $this->assertIsPaginatedResponse($res); }