/** * @covers \Cougar\PDO\PDO::exec * @expectedException PDOException */ public function testExecException() { $rows = $this->object->exec("INSERT INTO UnitTest VALUES(", array()); $this->fail("Exception was not thrown"); }