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