/** * @dataProvider invalidAttributeProvider */ public function testInvalidAttributesRaiseAnException($tags) { $decorator = new Decorator\HtmlTag(); $decorator->setHTMLTags($tags); $this->setExpectedException('Zend\\Tag\\Exception\\InvalidAttributeNameException'); $decorator->render($this->getTags()); }