protected static function initDAO($sql = '') { if (null === self::$sqLite) { self::initSqlite($sql); } self::$DAO = new DAO(); self::$DAO->setConnection(self::$sqLite); }
/** * @expectedException PDOException */ public function testThrowPDOExceptionOnMalformedQueryString() { $data = array(':propertyType' => 'username'); self::$DAO->insertRecord($data); }