/** * @covers ::fetchObject */ public function testFetchObject() { $this->setExpectedException('Crate\\PDO\\Exception\\UnsupportedException'); $this->statement->fetchObject(); }