mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
40 lines
815 B
PHP
40 lines
815 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Magento\Store\Test\Unit\Model;
|
|
|
|
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
|
|
use Magento\Store\Model\Group;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class GroupTest extends TestCase
|
|
{
|
|
/**
|
|
* @var Group
|
|
*/
|
|
protected $model;
|
|
|
|
/**
|
|
* @var ObjectManager
|
|
*/
|
|
protected $objectManagerHelper;
|
|
|
|
protected function setUp(): void
|
|
{
|
|
$this->objectManagerHelper = new ObjectManager($this);
|
|
|
|
$this->model = $this->objectManagerHelper->getObject(
|
|
Group::class
|
|
);
|
|
}
|
|
|
|
public function testGetCacheTags()
|
|
{
|
|
$this->assertEquals([Group::CACHE_TAG], $this->model->getCacheTags());
|
|
}
|
|
}
|