public function testDeadlockException() { $this->setExpectedException('\\Pheasant\\Database\\Mysqli\\DeadlockException'); $this->conn->execute("SIGNAL SQLSTATE '40001' SET MYSQL_ERRNO='1213'"); }