Exemplo n.º 1
0
 public function description()
 {
     return !is_null($this->description) ? $this->description : $this->action->description();
 }
Exemplo n.º 2
0
 private function shortDescription(Action $action)
 {
     $description = $this->parser->shorten($action->description());
     return $description ? " ({$description})" : '';
 }
Exemplo n.º 3
0
 private function thenTheDescriptionShouldBe($string)
 {
     $this->assert($this->uut->description(), $string);
 }