public function setupQueryBuilder()
 {
     $this->objectGetter->setSelectQueryFields($this->getInput('fields', 1));
     $this->objectGetter->setMainQuery();
     $this->objectGetter->setId($this->getInput('id', 1));
     $this->objectGetter->setNumeroProgressivo($this->getInput('numeroProgressivo', 1));
     $this->objectGetter->setNumeroAtto($this->getInput('numeroAtto', 1));
     $this->objectGetter->setMese($this->getInput('mese', 1));
     $this->objectGetter->setAnno($this->getInput('anno', 1));
     $this->objectGetter->setDataScadenza($this->getInput('dataScadenza', 1));
     $this->objectGetter->setSezioneId($this->getInput('sezioneId', 1));
     $this->objectGetter->setUtenteId($this->getInput('utenteId', 1));
     $this->objectGetter->setAnnullato($this->getInput('annullato', 1));
     $this->objectGetter->setPubblicare($this->getInput('pubblicare', 1));
     $this->objectGetter->setAttivo($this->getInput('attivo', 1));
     $this->objectGetter->setNoScaduti($this->getInput('noScaduti', 1));
     $this->objectGetter->setHome($this->getInput('home', 1));
     $this->objectGetter->setFreeSearch($this->getInput('freeSearch', 1));
     $this->objectGetter->setOrderBy($this->getInput('orderBy', 1));
     $this->objectGetter->setGroupBy($this->getInput('groupBy', 1));
     $this->objectGetter->setLimit($this->getInput('limit', 1));
 }
 public function testSetDataScadenza()
 {
     $this->objectGetter->setDataScadenza('20-10-2014');
     $this->assertNotEmpty($this->objectGetter->getQueryBuilder()->getParameter('dataScadenza'));
 }