yoomoney_api-2.5.2/vendor/yoomoney/yookassa-sdk-php/tests/Common/LegacyJsonInterfaceTest.php

vendor/yoomoney/yookassa-sdk-php/tests/Common/LegacyJsonInterfaceTest.php
<?php

namespace Tests\YooKassa\Common;

use PHPUnit\Framework\TestCase;

class LegacyJsonSerializableInterfaceTest extends TestCase
{
    public function testInterface()
    {
        require_once __DIR__ . '/../../lib/Common/legacy_json_serializable.php';

        $reflection = new \ReflectionClass('JsonSerializable');
        self::assertTrue($reflection->isInterface());
        if (version_compare('5.4', PHP_VERSION) < 0) {
            self::assertTrue($reflection->isInternal());
        } else {
            self::assertTrue($reflection->isUserDefined());
        }
    }
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc