private function morseCharacter($char) {
        if (!isset($this->table[$char])) {
            return $this->invalidCharacterReplacement;
        }

        return $this->table->getMorse($char);
    }