');
$result = $this->Html->div('class-name', 'text');
$this->assertEqual($result, '
text
');
$result = $this->Html->div('class-name', '
', array(), true);
$this->assertEqual($result, '<text>
');
}
function testPara() {
$result = $this->Html->para('class-name');
$this->assertEqual($result, '');
$result = $this->Html->para('class-name', 'text');
$this->assertEqual($result, '
text
');
$result = $this->Html->para('class-name', '', array(), true);
$this->assertEqual($result, '<text>
');
}
function tearDown() {
unset($this->Html);
}
}
?>