summaryrefslogtreecommitdiff
path: root/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php
blob: f5e9d6fe3ee4a9c9a071116ff4bdac66591864e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
require_once dirname(__FILE__).'/../../../phpunit.php';

Prado::using('System.Web.UI.ActiveControls.TActiveHiddenField');

/**
 * @package System.Web.UI.ActiveControls
 */
class TActiveHiddenFieldTest extends PHPUnit_Framework_TestCase {

  public function testSetValue() {
    $field = new TActiveHiddenField();
    $field->setValue('Test');
    $this->assertEquals('Test', $field->getValue());
  }
}

?>