public function VerboseMessengerTest::testAddMessage in Pathauto 8
Tests add messages.
@covers ::addMessage
File
- tests/
src/ Unit/ VerboseMessengerTest.php, line 43
Class
- VerboseMessengerTest
- @coversDefaultClass \Drupal\pathauto\VerboseMessenger @group pathauto
Namespace
Drupal\Tests\pathauto\UnitCode
public function testAddMessage() {
$this
->assertTrue($this->messenger
->addMessage("Test message"), "The message was added");
}