public function getUser($userId)
 {
     $users = $this->getUsers();
     if (!isset($users[$userId])) {
         throw new \InvalidArgumentException('This user does not exist in Slack API');
     }
     return $this->userEntityBuilder->getUser($this->userBuilder->getUser($users[$userId]));
 }
 /**
  * @param Message $message
  * @return HighFive
  */
 public function getHighFive(Message $message)
 {
     $highFive = $this->mapHighFive($message);
     $publisher = $this->userEntityBuilder->getUser($message->getUser());
     $channel = $this->channelEntityBuilder->getChannel($message->getChannel());
     $highFive->setPublisher($publisher);
     $highFive->setChannel($channel);
     return $highFive;
 }