16 $this->assertNull($e->getError());
17 $this->assertNull($e->getErrorNo());
18 $this->assertSame($e, $e->setError(
'test', 12));
19 $this->assertEquals(
'test', $e->getError());
20 $this->assertEquals(12, $e->getErrorNo());
22 $handle =
new CurlHandle(curl_init(), array());
23 $e->setCurlHandle($handle);
24 $this->assertSame($handle, $e->getCurlHandle());