public function info($category) { return $this->execGetRequest(["category" => $category], UrlBuilder::RESOURCE_GET_CATEGORY); }
/** @test */ public function it_should_return_category_info() { $info = ['name' => 'category1']; $this->apiShouldReturnData($info); $this->assertEquals($info, $this->provider->info(1)); }