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(); }