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