public function setupQueryBuilder() { $this->objectGetter->setSelectQueryFields($this->getInput('fields', 1)); $this->objectGetter->setMainQuery(); $this->objectGetter->setOrderBy($this->getInput('orderBy', 1)); $this->objectGetter->setQuestionId($this->getInput('questionId', 1)); $this->objectGetter->setTagSlug($this->getInput('tagSlug', 1)); $this->objectGetter->setImportant($this->getInput('important', 1)); $this->objectGetter->setLimit($this->getInput('limit', 1)); $this->objectGetter->setGroupBy($this->getInput('groupBy', 1)); }
public function testSetQuestionId() { $this->objectGetter->setQuestionId(11); $this->assertNotEmpty($this->objectGetter->getQueryBuilder()->getParameter('questionId')); }