/** * @expectedException InvalidArgumentException * @depends testAddGetHtmlTagAttributes * @dataProvider provideInvalidStrings * @return null */ public function testSetHeadAttributesInvalidValue_Failure($value) { $attrs = array('class' => 'my-class', 'id' => $value, 'checked' => null); $this->htmlDoc->setHtmlAttributes($attrs); }