/**
  * Set default options based on the supportedOptions provided
  *
  * @param array $options
  * @throws Exception
  */
 public function __construct(array $options = null)
 {
     if ($options === null) {
         $options = [];
     }
     $this->validateOptions($options);
     $this->setOptions($options);
     $context = new RenderingContext($this, $this->options);
     $context->setControllerName('Default');
     $context->setControllerAction('Default');
     $this->setRenderingContext($context);
 }