/**
  * Set the app kernel to the feature context.
  */
 private function setAppOnContext()
 {
     if ($this->context instanceof ApplicationAwareContext) {
         $this->context->setApp($this->app);
     }
 }
 /**
  * Set the app kernel to the feature context.
  */
 private function setAppOnContext()
 {
     if ($this->context instanceof KernelAwareContext) {
         $this->context->setApp($this->kernel);
     }
 }