public function testGetTitle()
 {
     $title = $this->article->getTitle();
     $this->assertInstanceOf('\\Cekurte\\WebScrapingBundle\\Selector\\SelectorInterface', $title);
     $this->assertEquals('article .article-header h1.tweet-title', $title->getSelectorKey());
     $this->assertEquals(SelectorBuilder::NODE_TEXT, $title->getSelectorType());
 }
 /**
  * @inheritdoc
  */
 public function getTitle()
 {
     return SelectorResolver::create()->resolve($this->crawler, $this->selector->getTitle())->getSingleResult();
 }