public function testSendFileToUnsupportedProtocol()
 {
     $param = array('file' => $this->mockCurlRequestTrait->curl_file_create(D_APP_DIR . '/Assets/1.txt'), 'name' => 'test');
     $url = 'xftp://127.0.0.1/56stgseaafs/asfasdf34tr/asdfasdfgadg/dfghgdfgdaf/asfdadsfasdf/fdhgdh/wqrwerafdsgdsfg/sdgsdfgfdsg/sdgsdfga';
     $response = $this->mockCurlRequestTrait->rawSend($url, $param, 'POST');
     $this->assertEquals('CURL_ERROR', $response->getError());
 }
 public function testDelRequestLogger()
 {
     $logger2 = new CurlRequestLoggerInterfaceExtendMock();
     $this->mockCurlRequestTrait->setRequestLogger('test2', $logger2);
     $this->mockCurlRequestTrait->delRequestLogger('test2');
 }