+ public function dataForSuccessImage()
+ {
+ return [
+ 'imgur' => [
+ '<div><img src="http://i.imgur.com/T9qgcHc.jpg" /></div>',
+ 'http://imgur.com/gallery/WxtWY',
+ ],
+ 'image with &' => [
+ '<div><img src="https://i2.wp.com/www.tvaddons.ag/wp-content/uploads/2017/01/Screen-Shot-2017-01-07-at-10.17.40-PM.jpg?w=640&ssl=1" /></div>',
+ 'https://www.tvaddons.ag/realdebrid-kodi-jarvis/',
+ ],
+ ];
+ }
+
+ /**
+ * @dataProvider dataForSuccessImage
+ */
+ public function testProcessHtml($html, $url)