/** * This will run at the beginning of every test method */ public function setUp() { // Parent setup parent::SetUp(); // Set string class $this->stringHelper = new StringHelper(); }
/** * This will run at the beginning of every test method */ public function setUp() { // Parent setup parent::SetUp(); // Set file class $this->fileHelper = new FileHelper(); }
/** * This will run at the beginning of every test method */ public function setUp() { // Parent setup parent::SetUp(); // Set Arr class $this->arrayHelper = new ArrayHelper(); }
/** * 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'; }