meraproject/vendor/yoomoney/yookassa-sdk-php/tests/Common/Exceptions/TooManyRequestsExceptionTest.php
keboss-m 5c21d25d45 Initial commit: Merakomis portal, Docker stack and user-reader API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 11:04:05 +03:00

19 lines
495 B
PHP

<?php
namespace Tests\YooKassa\Common\Exceptions;
use YooKassa\Common\Exceptions\TooManyRequestsException;
class TooManyRequestsExceptionTest extends AbstractApiRequestExceptionTest
{
public function getTestInstance($message = '', $code = 0, $responseHeaders = array(), $responseBody = null)
{
return new TooManyRequestsException($responseHeaders, $responseBody);
}
public function expectedHttpCode()
{
return TooManyRequestsException::HTTP_CODE;
}
}