| Current Path : /home/rtorresani/www/vendor/magento/framework/Controller/Test/Unit/Controller/Index/ |
| Current File : //home/rtorresani/www/vendor/magento/framework/Controller/Test/Unit/Controller/Index/IndexTest.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Framework\Controller\Test\Unit\Controller\Index;
use Magento\Framework\Controller\Index\Index;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
use PHPUnit\Framework\TestCase;
class IndexTest extends TestCase
{
public function testExecute()
{
$objectManager = new ObjectManager($this);
/**
* @var Index
*/
$controller = $objectManager->getObject(Index::class);
// The execute method is empty and returns void, just calling to verify
// the method exists and does not throw an exception
$controller->execute();
}
}