/**
  * @param ResponseInterface $httpResponse
  * @return bool
  */
 public function isSuccessfulResponse(ResponseInterface $httpResponse)
 {
     return $httpResponse->getStatusCode() === 200;
 }
 /**
  * @param ResponseInterface $httpResponse
  * @return array
  * @throws RuntimeException
  */
 public function decode(ResponseInterface $httpResponse)
 {
     return Json::decode($httpResponse->getBody(), Json::TYPE_ARRAY);
 }