public function testIfRequestWithAuthenticationWorks()
{
$invoker = self::getPrivateMethod('rawCall');
$result = $invoker->invokeArgs($this->api, array('POST', '/process', array('inputformat' => 'pdf', 'outputformat' => 'pdf'), true));
$this->assertArrayHasKey('url', $result);
}