/**
  * This will run at the beginning of every test method
  */
 public function setUp()
 {
     // Parent setup
     parent::SetUp();
     // Set string class
     $this->stringHelper = new StringHelper();
 }
Exemplo n.º 2
0
 /**
  * This will run at the beginning of every test method
  */
 public function setUp()
 {
     // Parent setup
     parent::SetUp();
     // Set file class
     $this->fileHelper = new FileHelper();
 }
Exemplo n.º 3
0
 /**
  * This will run at the beginning of every test method
  */
 public function setUp()
 {
     // Parent setup
     parent::SetUp();
     // Set Arr class
     $this->arrayHelper = new ArrayHelper();
 }
Exemplo n.º 4
0
 /**
  * This will run at the beginning of every test method
  */
 public function setUp()
 {
     // Parent setup
     parent::SetUp();
     // Set Arr class
     $this->scraper = new Scraper();
 }
 /**
  * This will run at the beginning of every test method
  */
 public function setUp()
 {
     // Parent setup
     parent::SetUp();
     // Set string class
     $this->dateTimeHelper = new DateTimeHelper();
 }
 protected function mySetup($dataSet)
 {
     PHPUnit_Framework_TestCase::SetUp();
     $this->databaseTester = NULL;
     $this->getDatabaseTester()->setSetUpOperation($this->getSetUpOperation());
     $this->getDatabaseTester()->setDataSet($this->createFlatXmlDataSet($dataSet));
     $this->getDatabaseTester()->onSetUp();
 }
 /**
  * This will run at the beginning of every test method
  */
 public function setUp()
 {
     // Parent setup
     parent::SetUp();
     // Set MakeMigrationJson instance
     $this->makeMigrationJson = new MakeMigrationJson();
     // Set json file path
     $this->jsonFilePath = 'tests/json/test.json';
 }