/** {@inheritdoc} */
 public function findBelow(Text $text, $pattern, $location = null)
 {
     trigger_error(__CLASS__ . ' has been replaced by Text#setCurrentLineNumber', \E_USER_DEPRECATED);
     $foundLineNumber = (null !== $location ? $location : $text->getCurrentLineNumber()) + $pattern;
     if (0 > $foundLineNumber || $foundLineNumber >= $text->getLength()) {
         return false;
     }
     return $foundLineNumber;
 }
 function let(TextSanitizer $textSanitizer, Text $text)
 {
     $text->getCurrentLineNumber()->willReturn(self::LINE_NUMBER);
     $text->getLength()->willReturn(50);
     $this->beConstructedWith($textSanitizer);
 }