Esempio n. 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');
 }
Esempio n. 2
0
 /**
  * Log setter.
  *
  * @param array $log
  *
  * @return $this
  */
 public function setLog(array $log)
 {
     $this->formatter->setLog($log);
     return $this;
 }