public function testSessionDestroy() {
$storage = new PdoSessionHandler($this->pdo, array(
'db_table' => 'sessions',
), array());
$storage
->write('foo', 'bar');
$this
->assertEquals(1, count($this->pdo
->query('SELECT * FROM sessions')
->fetchAll()));
$storage
->destroy('foo');
$this
->assertEquals(0, count($this->pdo
->query('SELECT * FROM sessions')
->fetchAll()));
}