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