/** * Return base parameters * * @return array */ public function getAllFields() { $this->getAll = true; return BaseParameter::page(); }
function testPageDoesIncludeLocalizationByRequest() { $params = BaseParameter::page(true); $this->assertContains('localizations', $params); }
public function testReturnsCorrectLabel() { $resource = $this->instantiate($this->stub); $this->assertEquals(BaseParameter::page(), $resource->getAllFields()); }