public testSendRequestBadContentType ( ) |
public function testSendRequestBadContentType()
{
// Stub adapter methods
$this->stubMockAdapterResponseMethods(null, 200, 'unknown');
// Set mock adapter
$this->transport->setAdapter($this->mockAdapter);
// Send request
$this->transport->sendRequest('dummy', 'GET');
}