public function setUp()
 {
     $this->query = new Query();
     $this->query->setFile(__FILE__);
     $this->query->addParam('param1', 'value1');
     $this->query->addFieldMapping('from-field', 'to-field');
     $this->builder = new RequestBuilder();
 }
Example #2
0
 public function testSetAndGetFilename()
 {
     $this->query->setFile(__FILE__);
     $this->assertEquals(__FILE__, $this->query->getFile());
 }