public function testClose() { $this->curlAdapter->open(); $this->curlAdapter->close(); $this->assertAttributeEmpty('curl', $this->curlAdapter); }