+
+ function testCurlIncompatible() {
+ $client = new UserClient;
+ $client->setRequest(new http\Client\Request("GET", "https://twitter.com"));
+
+ $share = new http\Curl\Client\DataShare;
+ $this->setExpectedException("PHPUnit_Framework_Error_Warning");
+ $share->attach($client);
+ $this->setExpectedException("PHPUnit_Framework_Error_Warning");
+ $share->detach($client);
+ }