<?php
/**
*
* Concrete class test.
*
*/
class Test_Solar_View_Helper_FormTextarea extends Test_Solar_View_Helper {
/**
*
* Configuration values.
*
* @var array
*
*/
protected $_Test_Solar_View_Helper_FormTextarea = array(
);
// -----------------------------------------------------------------
//
// Test methods.
//
// -----------------------------------------------------------------
/**
*
* Test -- Generates a 'textarea' element.
*
*/
public function testFormTextarea()
{
$info = array(
'name' => 'test',
'value' => '"quoted\'s"',
);
$actual = $this->_view->formTextarea($info);
$expect = '<textarea name="test">"quoted\'s"</textarea>';
$this->assertSame($actual, $expect);
}
}