/** * @expectedException InvalidArgumentException * @depends testInterface * @dataProvider provideEmptyStrings * @return null */ public function testSetCharsetEmptyString_Failure($encoding) { $this->htmlDoc->setCharset($encoding); }