public function exampleFinished(\PHPSpec\Specification\Example $example) { $this->notify(new ReporterEvent('exampleFinish', '', $example->getSpecificationText())); }
/** * Adds a pass to the formatters * * @param \PHPSpec\Specification\Example $example */ public function addPass(Example $example) { $this->_passing[] = $example; $this->notify(new ReporterEvent('status', '.', $example->getSpecificationText())); }