public function testCanSetAlwaysWrap() { $element = new Element('foo'); $element->setLabelOption('always_wrap', true); $this->assertTrue($element->getLabelOption('always_wrap')); }
public function testCanAddLabelOptionSingly() { $element = new Element(); $element->setLabelOption('foo', 'bar'); $this->assertEquals('bar', $element->getLabelOption('foo')); }