summaryrefslogtreecommitdiff
path: root/tests/unit/Web/UI/WebControls/TLabelTest.php
blob: 0e5577d5306b2f47a6fbd8adb220a5b9ef231588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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());
  }
}

?>