Your IP : 216.73.216.220


Current Path : /var/www/www.indacotrentino.com/www/setup/src/Magento/Setup/Test/Unit/Fixtures/
Upload File :
Current File : /var/www/www.indacotrentino.com/www/setup/src/Magento/Setup/Test/Unit/Fixtures/FixtureModelTest.php

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

namespace Magento\Setup\Test\Unit\Fixtures;

use Magento\Indexer\Console\Command\IndexerReindexCommand;
use Magento\Setup\Fixtures\FixtureModel;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Output\OutputInterface;

class FixtureModelTest extends TestCase
{
    /**
     * @var FixtureModel
     */
    private $model;

    protected function setUp(): void
    {
        $reindexCommandMock = $this->createMock(IndexerReindexCommand::class);
        $this->model = new FixtureModel($reindexCommandMock);
    }

    public function testReindex()
    {
        $outputMock = $this->getMockForAbstractClass(OutputInterface::class);
        $this->model->reindex($outputMock);
    }
}