<?php

require_once 'PHPUnit/Framework.php';

/**
 * Test class for HeaderCell.
 * Generated by PHPUnit on 2011-04-22 at 00:51:16.
 */
class HeaderCellTest extends PHPUnit_Framework_TestCase {

    /**
     * @var HeaderCell
     */
    protected $headerCell;

    /**
     * Sets up the fixture, for example, opens a network connection.
     * This method is called before a test is executed.
     */
    protected function setUp() {
        $this->headerCell = new HeaderCell;
    }

    /**
     * Tears down the fixture, for example, closes a network connection.
     * This method is called after a test is executed.
     */
    protected function tearDown() {

    }

    public function test__toString() {
        $this->assertEquals('Heading', $this->headerCell->__toString());

        $this->headerCell->setProperties(array('label' => 'First Name'));
        $this->assertEquals('First Name', $this->headerCell->__toString());
    }

}

?>
