public function testClear() { $styleSet = new StyleSet(); $styleSet->add(Style::tag('style1')); $styleSet->clear(); $this->assertSame(array(), $styleSet->toArray()); }