public function testGetImage()
 {
     $content = $this->article->getImage();
     $this->assertInstanceOf('\\Cekurte\\WebScrapingBundle\\Selector\\SelectorInterface', $content);
     $this->assertEquals('meta[property="og:image"]', $content->getSelectorKey());
     $this->assertEquals(SelectorBuilder::NODE_ATTR, $content->getSelectorType());
     $this->assertEquals('content', $content->getSelectorAttr());
 }
 /**
  * @inheritdoc
  */
 public function getImage()
 {
     return SelectorResolver::create()->resolve($this->crawler, $this->selector->getImage())->getSingleResult();
 }