public function testBlankOption() { $tag = new SimpleSelectionTag(array('name' => 'A')); $a = new SimpleOptionTag(array()); $tag->addTag($a); $b = new SimpleOptionTag(array()); $b->addContent('b'); $tag->addTag($b); $this->assertIdentical($tag->getValue(), ''); $tag->setValue('b'); $this->assertIdentical($tag->getValue(), 'b'); $tag->setValue(''); $this->assertIdentical($tag->getValue(), ''); }