예제 #1
0
 function it_should_set_the_correct_output_class(FormatInterface $formatter)
 {
     $formatter->setLog([])->shouldBeCalled();
     $formatter->setIssueTrackerUrlPattern('')->shouldBeCalled();
     $formatter->decorate()->willReturn('foo');
     $this->setLog([]);
     $this->setIssueTrackerUrlPattern('');
     $this->decorate()->shouldReturn('foo');
 }
예제 #2
0
 /**
  * Returns the decorated log.
  * @return FormatInterface
  */
 public function decorate()
 {
     return $this->formatter->decorate();
 }