blob: 214d497ce4310a9510709220044c6641896ccf1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
require_once dirname(__FILE__).'/../../../phpunit.php';
Prado::using('System.Web.UI.WebControls.TLabel');
Prado::using('System.Web.UI.THtmlWriter');
/**
* @package System.Web.UI.WebControls
*/
class TLabelTest extends PHPUnit_Framework_TestCase {
public function testSetText() {
$label = new TLabel();
$label->setText('Test');
$this->assertEquals('Test', $label->getText());
}
}
?>
|