public function testIfProcessCreationWithInvalidFormatThrowsTheRightException()
{
$this->setExpectedException('CloudConvert\\Exceptions\\ApiException', 'This conversiontype is not supported!', 400);
$this->setExpectedException('CloudConvert\\Exceptions\\ApiBadRequestException', 'This conversiontype is not supported!', 400);
$this->api->createProcess(array('inputformat' => 'invalid', 'outputformat' => 'pdf'));
}