/**
  * @return string
  * @throws LiveBroadcastOutputException
  */
 public function getEntityId()
 {
     if (!$this->channel instanceof ChannelFacebook) {
         throw new LiveBroadcastOutputException(__FUNCTION__ . ' Facebook channel not configured');
     }
     return $this->channel->getFbEntityId();
 }
 public function testGetMethods()
 {
     $channel = new ChannelFacebook();
     $channel->setChannelName('Testing123')->setAccessToken('456789')->setFbEntityId('Facebook');
     self::assertEquals('Testing123', $channel->getChannelName());
     self::assertEquals('456789', $channel->getAccessToken());
     self::assertEquals('Facebook', $channel->getFbEntityId());
 }