/**
  * Sets up dependencies for the test.
  *
  * @return  void
  *
  * @since   1.0
  */
 protected function setUp()
 {
     parent::setUp();
     include_once dirname(__DIR__) . '/inspectors.php';
 }
Пример #2
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  *
  * @return  void
  *
  * @since   1.0
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = Storage::getInstance('Database', array('db' => static::$driver));
 }
 /**
  * Sets up the fixture.
  *
  * This method is called before a test is executed.
  *
  * @return  void
  *
  * @since   1.0
  */
 protected function setUp()
 {
     parent::setUp();
     static::$instance = DatabaseFactory::getInstance();
 }