diff options
author | knut <> | 2006-02-06 20:01:41 +0000 |
---|---|---|
committer | knut <> | 2006-02-06 20:01:41 +0000 |
commit | 0d56725dd699041530e92026868193e87b81b837 (patch) | |
tree | a6419479a7397341ec3c0a701b906bcf006e7cce /tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php | |
parent | 57f7e6924dc8e996a06b46418e8f98f4d0a9531b (diff) |
added some more tests
Diffstat (limited to 'tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php')
-rw-r--r-- | tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php b/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php new file mode 100644 index 00000000..3146cb06 --- /dev/null +++ b/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php @@ -0,0 +1,17 @@ +<?php +require_once dirname(__FILE__).'/../../../phpunit2.php'; + +Prado::using('System.Web.UI.WebControls.TRequiredFieldValidator'); + +/** + * @package System.Web.UI.WebControls + */ +class TRequiredFieldValidatorTest extends PHPUnit2_Framework_TestCase { + + public function testGetEmptyInitialValue() { + $validator = new TRequiredFieldValidator(); + $this->assertEquals('', $validator->getInitialValue()); + } +} + +?>
\ No newline at end of file |