protected property MigrateTestBase::$logger in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::logger
- 10 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::logger
A logger prophecy object.
Using ::setTestLogger(), this prophecy will be configured and injected into the container. Using $this->logger->function(args)->shouldHaveBeenCalled() you can assert that the logger was called.
Type: \Prophecy\Prophecy\ObjectProphecy
File
- core/
modules/ migrate/ tests/ src/ Kernel/ MigrateTestBase.php, line 59
Class
- MigrateTestBase
- Creates abstract base class for migration tests.
Namespace
Drupal\Tests\migrate\KernelCode
protected $logger;