Your IP : 127.0.0.1


Current Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/View/Test/Unit/Asset/
Upload File :
Current File : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/View/Test/Unit/Asset/RemoteTest.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\Framework\View\Test\Unit\Asset;

use Magento\Framework\View\Asset\Remote;
use PHPUnit\Framework\TestCase;

class RemoteTest extends TestCase
{
    /**
     * @var Remote
     */
    protected $_object;

    protected function setUp(): void
    {
        $this->_object = new Remote('https://127.0.0.1/magento/test/style.css', 'css');
    }

    public function testGetUrl()
    {
        $this->assertEquals('https://127.0.0.1/magento/test/style.css', $this->_object->getUrl());
    }

    public function testGetContentType()
    {
        $this->assertEquals('css', $this->_object->getContentType());
    }
}