public function testProcess()
 {
     $text = 'test';
     $options = array('key' => 'value');
     $linkify = $this->getMock('Misd\\Linkify\\Linkify');
     $linkify->expects($this->once())->method('process')->with($text, $options);
     $helper = new LinkifyHelper($linkify);
     $helper->process($text, $options);
 }
 /**
  * Linkify text.
  *
  * @param string $text    Text to process.
  * @param array  $options Options.
  *
  * @return string Processed text.
  */
 public function linkify($text, array $options = array())
 {
     return $this->helper->process($text, $options);
 }