Files
yookassa-sdk-php/tests/Common/Exceptions/NotFoundExceptionTest.php
T
Антон Н. Николаев 3eebc00ef2 Обновленная версия SDK
2020-12-01 15:39:32 +03:00

19 lines
467 B
PHP

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