Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/magento/framework/Jwt/Test/Unit/Header/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/framework/Jwt/Test/Unit/Header/X509Sha1ThumbprintTest.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

declare(strict_types=1);

namespace Magento\Framework\Jwt\Test\Unit\Header;

use Magento\Framework\Jwt\Header\X509Sha1Thumbprint;
use PHPUnit\Framework\TestCase;

class X509Sha1ThumbprintTest extends TestCase
{
    public function testGetValue(): void
    {
        $model = new X509Sha1Thumbprint('cert:==somecert');

        $this->assertEquals('Y2VydDo9PXNvbWVjZXJ0', $model->getValue());
    }
}