public function ScheduledTransitionsCronUnitTest::__construct in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x tests/src/Unit/ScheduledTransitionsCronUnitTest.php \Drupal\Tests\scheduled_transitions\Unit\ScheduledTransitionsCronUnitTest::__construct()
ScheduledTransitionsCronUnitTest constructor.
File
- tests/
src/ Unit/ ScheduledTransitionsCronUnitTest.php, line 38
Class
- ScheduledTransitionsCronUnitTest
- Tests cron hooks.
Namespace
Drupal\Tests\scheduled_transitions\UnitCode
public function __construct() {
parent::__construct();
$this->testConfigFactory = $this
->createMock(ConfigFactoryInterface::class);
$this->testJobs = $this
->createMock(ScheduledTransitionsJobsInterface::class);
}