Exemplo n.º 1
0
 public function thenTheOutputShouldBe($string)
 {
     $this->spec->assertSame($string, implode(PHP_EOL, $this->writer->getOutput()));
 }
Exemplo n.º 2
0
 private function thenTheLogShouldBe($messages)
 {
     $count = count($messages);
     $this->assertEquals($messages, array_slice($this->writer->getOutput(), -$count, $count));
 }