'
],
[
['caption'],
''
],
// value encoding
[
[''],
''
]
];
}
public function testSetEnabled() {
$button = $this->createTag();
$button->setEnabled(false);
$this->assertEquals(
'',
(string) $button
);
}
/**
* @param $caption
* @param $class
*
* @return CSimpleButton
*/
protected function createTag($caption = '') {
return new CSimpleButton($caption);
}
}