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