/**
  * Tear down test environment.
  */
 public function tearDown()
 {
     if ($this->connection->tableExists('writers')) {
         $this->connection->dropTable('writers');
     }
     parent::tearDown();
 }
 public function tearDown()
 {
     $this->connection->dropTable('stats_snapshots');
     $this->connection->execute('DROP TRIGGER IF EXISTS `insert_stats_snapshots`');
     $this->connection->execute('DROP TRIGGER IF EXISTS `update_stats_snapshots`');
     parent::tearDown();
 }
 /**
  * Set up test environment.
  */
 public function setUp()
 {
     parent::setUp();
     $container = new Container(['dependency' => 'it works!']);
     $this->pool->setContainer($container);
     $this->assertTrue($this->pool->hasContainer());
     $this->assertInstanceOf(Container::class, $this->pool->getContainer());
     $this->pool->registerType(Writer::class);
 }
 /**
  * Set up test environment.
  */
 public function setUp()
 {
     parent::setUp();
     $this->pool->registerType(User::class);
     $this->assertTrue($this->pool->isTypeRegistered(User::class));
 }