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