Dshafik\MySQL\Tests\MySqlShimTest::test_mysql_close_fail PHP Method

test_mysql_close_fail() public method

    public function test_mysql_close_fail()
    {
        $this->skipForHHVM();
        $this->expectException(\PHPUnit_Framework_Error_Warning::class);
        $this->expectExceptionMessage("mysql_close(): no MySQL-Link resource supplied");
        mysql_close();
    }
MySqlShimTest