private static function buildUnderline($string, Border $border)
    {
        $stringLength = Util::getVisibleStringLength($string);
        $underline    = Util::buildPatternLine($border->getLineCharacter(), $stringLength);

        $result = $string . PHP_EOL . $underline . PHP_EOL;

        return $result;
    }