You are here

protected function ItemWarmerTest::setUp in Warmer 8

Same name and namespace in other branches
  1. 2.x tests/src/Unit/Plugin/QueueWorker/ItemWarmerTest.php \Drupal\Tests\warmer\Unit\Plugin\QueueWorker\ItemWarmerTest::setUp()

Overrides UnitTestCase::setUp

File

tests/src/Unit/Plugin/QueueWorker/ItemWarmerTest.php, line 20

Class

ItemWarmerTest
@coversDefaultClass \Drupal\warmer\Plugin\QueueWorker\ItemWarmer @group warmer

Namespace

Drupal\Tests\warmer\Unit\Plugin\QueueWorker

Code

protected function setUp() {
  parent::setUp();
  $this->sut = new ItemWarmer([], 'warmer', []);
}