Pheasant\Tests\ConnectionTest::testDeadlockException PHP Method

testDeadlockException() public method

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