public function __construct(Connection $connection, $table = 'cache', array $fields = array()) { $this->connection = $connection; $this->table = $table; $this->fields = CacheSchema::getFields($fields); $this->prepareStatements(); }
public function tearDown() { $this->assertGreaterThan(0, CacheSchema::dropTable($this->connection)); $this->assertEquals(0, CacheSchema::dropTable($this->connection)); $this->connection->close(); }