meraproject/vendor/yoomoney/yookassa-sdk-php/tests/Common/Exceptions/NotFoundExceptionTest.php

19 lines
467 B
PHP
Raw Normal View History

<?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;
}
}