Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/magento/framework/Indexer/Test/Unit/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/framework/Indexer/Test/Unit/IndexTableRowSizeEstimatorTest.php

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

namespace Magento\Framework\Indexer\Test\Unit;

use Magento\Framework\Indexer\IndexTableRowSizeEstimator;
use PHPUnit\Framework\TestCase;

class IndexTableRowSizeEstimatorTest extends TestCase
{
    /**
     * Test for estimateRowSize method
     */
    public function testEstimateRowSize()
    {
        $rowMemorySize = 100;
        $model = new IndexTableRowSizeEstimator($rowMemorySize);
        $this->assertEquals($model->estimateRowSize(), $rowMemorySize);
    }
}