public function process(Entity $context)
 {
     if ($context instanceof TestSuite) {
         $context->setName($this->getName());
         $context->setStart(self::getTimestamp());
         $context->setTitle($this->getTitle());
         $description = $this->getDescription();
         if (isset($description)) {
             $context->setDescription($this->getDescription());
         }
         foreach ($this->getLabels() as $label) {
             $context->addLabel($label);
         }
     }
 }
 public function process(Entity $context)
 {
     if ($context instanceof TestCase) {
         $context->setName($this->getName());
         $context->setStatus(Status::PASSED);
         $context->setStart(self::getTimestamp());
         $context->setTitle($this->getTitle());
         $description = $this->getDescription();
         if (isset($description)) {
             $context->setDescription($description);
         }
         foreach ($this->getLabels() as $label) {
             $context->addLabel($label);
         }
         foreach ($this->getParameters() as $parameter) {
             $context->addParameter($parameter);
         }
     }
 }