protected function setUp() { if (!$this->db) { $this->db = \Fobia\DataBase\DbFactory::create('mysql://root@localhost/mysql'); } $this->q = $this->db->createSelectQuery(); }
/** * @covers Fobia\DataBase\Handler\MySQL::createSelectQuery * @todo Implement testCreateSelectQuery(). */ public function testCreateSelectQuery() { $q = $this->db->createSelectQuery(); $this->assertInstanceOf('\\Fobia\\DataBase\\Query\\QuerySelect', $q); }