public function LoggerMock::getLogMessages in Acquia Content Hub 8.2
Helper method that can be used for assertions.
Return value
array Log messages.
File
- tests/
src/ Unit/ Helpers/ LoggerMock.php, line 56
Class
- LoggerMock
- Mock Logger created for easy assertions of log messages.
Namespace
Drupal\Tests\acquia_contenthub\Unit\HelpersCode
public function getLogMessages() : array {
return $this->logMessages;
}