mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 22:30:27 +08:00
25 lines
526 B
PHP
25 lines
526 B
PHP
<?php
|
|
/**
|
|
* @link https://www.yiiframework.com/
|
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
|
* @license https://www.yiiframework.com/license/
|
|
*/
|
|
|
|
namespace yiiunit\framework\helpers;
|
|
|
|
use yii\helpers\UnsetArrayValue;
|
|
use yiiunit\TestCase;
|
|
|
|
/**
|
|
* @group helpers
|
|
*/
|
|
class UnsetArrayValueTest extends TestCase
|
|
{
|
|
public function testSetState()
|
|
{
|
|
$object = new UnsetArrayValue();
|
|
$result = $object::__set_state([]);
|
|
$this->assertInstanceOf('yii\helpers\UnsetArrayValue', $result);
|
|
}
|
|
}
|