public function setUp()
{
$pdo = NULL;
if ($this->pdo === NULL) {
$this->pdo = new \PDO('sqlite::memory:');
$this->pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
// Create tables
$this->pdo->exec(SetupStore::createDayTable('availability_event', 'event'));
$this->pdo->exec(SetupStore::createDayTable('availability_event', 'state'));
$this->pdo->exec(SetupStore::createHourTable('availability_event', 'event'));
$this->pdo->exec(SetupStore::createHourTable('availability_event', 'state'));
$this->pdo->exec(SetupStore::createMinuteTable('availability_event', 'event'));
$this->pdo->exec(SetupStore::createMinuteTable('availability_event', 'state'));
}
}