public function testFormElementWithDefaultValue() {
$result = $this->form->text('foo', array('default' => 'Message here'));
$this->assertTags($result, array('input' => array(
'type' => 'text', 'name' => 'foo', 'value' => 'Message here', 'id' => 'Foo'
)));
$result = $this->form->text('foo', array(
'default' => 'Message here', 'value' => 'My Name Is Jonas', 'id' => 'Foo'
));
$this->assertTags($result, array('input' => array(
'type' => 'text', 'name' => 'foo', 'value' => 'My Name Is Jonas', 'id' => 'Foo'
)));
$result = $this->form->text('foo', array('value' => 'My Name Is Jonas'));
$this->assertTags($result, array('input' => array(
'type' => 'text', 'name' => 'foo', 'value' => 'My Name Is Jonas', 'id' => 'Foo'
)));
}