public function testRemoveNonExistingTable() { $this->setExpectedException('\\TextDb\\Exception\\InvalidTableException'); $this->tdb->createDatabase($this->tmpFolder, $this->dbName); $this->tdb->removeTable("invalid_table"); $this->tdb->removeDatabase(); }
protected function tearDown() { $this->tdb->tdb($this->tmpFolder, $this->dbName); $this->tdb->removeDatabase(); parent::tearDown(); }