public function testProccessQuery() { foreach ($this->_testObjects as $obj) { $this->object->setQuery($obj['query']['query']); $this->object->setParameters($obj['query']['parameters']); $this->object->setXslt($obj['query']['xslt']); if (isset($obj['query']['delimiter'])) { $this->object->setDelimiter($obj['query']['delimiter']); } $this->assertEquals($obj['result'], $this->object->proccessQuery()); } }