Example #1
0
 /**
  * @covers Igorw\EventSource\Event::addComment
  * @covers Igorw\EventSource\Event::getFormattedComments
  */
 public function testCommentFormattingWithManyComments()
 {
     $event = new Event();
     $event->addComment('a comment');
     $event->addComment('a second comment');
     $event->addComment('another comment');
     $this->assertSame(": a comment\n: a second comment\n: another comment\n", $event->getFormattedComments());
 }