You are here

public function ProxyItemTest::setUp in Purge 8.3

Set up the test object.

Parameters

bool $switch_to_memory_queue: Whether to switch the default queue to the memory backend or not.

Overrides KernelTestBase::setUp

File

tests/src/Kernel/Queue/ProxyItemTest.php, line 33

Class

ProxyItemTest
Tests \Drupal\purge\Tests\Queue\ProxyItem.

Namespace

Drupal\Tests\purge\Kernel\Queue

Code

public function setUp($switch_to_memory_queue = TRUE) : void {
  parent::setUp($switch_to_memory_queue);
  $this->buffer = new TxBuffer();
}