/** * Constructs new user defined url link frame */ public function __construct() { parent::__construct(); $this->textEncoding = 0x0; $this->description = ''; }
/** * @dataProvider exceptionForOnlyStringProvider * @expectedException \InvalidArgumentException * @expectedExceptionMessage URL must be a string */ public function testSetUrlWithInvalidArgument($argument) { $this->frame->setUrl($argument); }