Ejemplo n.º 1
0
 /**
  * Initialize the Transit class.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = new Transit($this->data);
     $this->object->setDirectory(TEMP_DIR);
 }
Ejemplo n.º 2
0
 /**
  * Initialize the validator.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = new ImageValidator();
     $this->object->setFile(new File($this->baseFile));
 }
Ejemplo n.º 3
0
 /**
  * Store the file object.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = new File($this->tempFile);
 }