This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Form/HiddenFieldTest.php

20 lines
362 B
PHP
Raw Normal View History

<?php
namespace Symfony\Tests\Component\Form;
use Symfony\Component\Form\HiddenField;
class HiddenFieldTest extends \PHPUnit_Framework_TestCase
{
protected $field;
public function setUp()
{
$this->field = new HiddenField('name');
}
public function testIsHidden()
{
$this->assertTrue($this->field->isHidden());
}
}