/**
  * {@inheritdoc}
  */
 public function initializeContext(Context $context)
 {
     if (!$context instanceof ApiContextInterface) {
         return;
     }
     $context->setClient($this->client);
     $context->setRequestFactory($this->messageFactory);
     $context->setBaseUrl($this->baseUrl);
 }