/** * @expectedException InvalidArgumentException * @depends testAddGetHtmlTagAttributes * @dataProvider provideInvalidStrings * @return null */ public function testAddHtmlAttributeInvalidValue_Failure($value) { $this->htmlDoc->addHtmlAttribute('id', $value); }