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

Prado::using('System.Web.UI.WebControls.TRequiredFieldValidator');

/**
 * @package System.Web.UI.WebControls
 */
class TRequiredFieldValidatorTest extends PHPUnit_Framework_TestCase {

  public function testGetEmptyInitialValue() {
    $validator = new TRequiredFieldValidator();
    $this->assertEquals('', $validator->getInitialValue());
  }
}

?>