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