/** * @expectedException \ModelModule\Model\NullException */ public function testGetRecordsThrowsException() { $this->recordsGetterWrapperAbstract->getRecords(); }
/** * @param \ModelModule\Model\RecordsGetterWrapperAbstract $wrapper * @param array $input * * @return array */ public function recoverWrapperRecords($wrapper, $input) { $wrapper->setInput($input); $wrapper->setupQueryBuilder(); return $wrapper->getRecords(); }