Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/magento/module-ui/Test/Unit/Component/Form/Element/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-ui/Test/Unit/Component/Form/Element/CheckboxSetTest.php

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

namespace Magento\Ui\Test\Unit\Component\Form\Element;

use Magento\Ui\Component\Form\Element\CheckboxSet;

/**
 * @method CheckboxSet getModel
 */
class CheckboxSetTest extends AbstractElementTest
{
    /**
     * @inheritdoc
     */
    protected function getModelName()
    {
        return CheckboxSet::class;
    }

    /**
     * @inheritdoc
     */
    public function testGetComponentName()
    {
        $this->assertSame(CheckboxSet::NAME, $this->getModel()->getComponentName());
    }

    public function testGetIsSelected()
    {
        $this->assertFalse($this->getModel()->getIsSelected(''));
    }
}