public function testClose() { $multi_curl = new MultiCurl(); $multi_curl->addGet(Test::TEST_URL); $multi_curl->start(); $this->assertTrue(is_resource($multi_curl->multiCurl)); $multi_curl->close(); $this->assertFalse(is_resource($multi_curl->multiCurl)); }