Example #1
0
 public function __construct(Story $story)
 {
     // initialise our parent first
     parent::__construct($story->getCategory() . ' > ' . $story->getGroupAsString() . ' > ' . $story->getName());
     // remember the story we are reporting on
     $this->story = $story;
     // we want success to say 'PASS' rather than 'OKAY'
     $this->resultStrings[self::OKAY] = 'PASS';
 }