Example #1
0
 public function testSetValue()
 {
     $this->objectGetter->setValue('myValue');
     $this->assertNotEmpty($this->objectGetter->getQueryBuilder()->getParameter('value'));
 }
Example #2
0
 /**
  * @return null
  */
 public function setupQueryBuilder()
 {
     $this->objectGetter->setSelectQueryFields($this->getInput('fields', 1));
     $this->objectGetter->setMainQuery();
     $this->objectGetter->setChannel($this->getInput('channel', 1));
     $this->objectGetter->setLanguage($this->getInput('language', 1));
     $this->objectGetter->setName($this->getInput('name', 1));
     $this->objectGetter->setValue($this->getInput('value', 1));
     $this->objectGetter->setIsBackend($this->getInput('isBackend', 1));
     $this->objectGetter->setOrderBy($this->getInput('orderBy', 1));
     $this->objectGetter->setGroupBy($this->getInput('groupBy', 1));
     $this->objectGetter->setLimit($this->getInput('limit', 1));
     return null;
 }