public function testRenderException() { $this->setExpectedException('Pop\\Db\\Exception'); $s = new Sql(Db::factory('Sqlite', array('database' => __DIR__ . '/../tmp/test.sqlite')), 'users'); $sql = $s->render(true); }