Метод | Описание | |
---|---|---|
testIfApiTemporaryUnavailableExceptionIsThrown ( ) | Test if API error 503 throws a CloudConvert\Exceptions\ApiTemporaryUnavailableException with correct retryAfter value | |
testIfProcessCreationWithInvalidFormatThrowsTheRightException ( ) | Test if Process creation with invalid format throws a CloudConvert\Exceptions\ApiException | |
testIfProcessCreationWorks ( ) | Test if Process creation works | |
testIfRequestWithAuthenticationWorks ( ) | Test if request without authentication works | |
testIfRequestWithoutAuthenticationWorks ( ) | Test if request without authentication works |
Метод | Описание | |
---|---|---|
getPrivateMethod ( $name ) | Get private and protected method to unit test it | |
getPrivateProperty ( $name ) | ||
setUp ( ) | Define id to create object |
protected static getPrivateMethod ( $name ) |
public testIfProcessCreationWorks ( ) |
public testIfRequestWithAuthenticationWorks ( ) |
public testIfRequestWithoutAuthenticationWorks ( ) |