示例#1
0
 public function testInfoAlias()
 {
     Messenger::info('Hello Info World');
     $messages = $this->messenger->get();
     $firstMessage = current($messages);
     $this->assertContains('Hello Info World', $firstMessage->display());
     $this->assertContains('info', $firstMessage->display());
 }