You are here

public function ImportQueueItemTest::provideUuidItems in Acquia Content Hub 8

Provides a series of queue items.

Return value

array An array of queue items.

File

tests/src/Unit/QueueItem/ImportQueueItemTest.php, line 103

Class

ImportQueueItemTest
PHPUnit test for the ImportQueueItem.

Namespace

Drupal\Tests\acquia_contenthub\Unit\QueueItem

Code

public function provideUuidItems() {
  $data = [];
  $data[] = [
    new ImportQueueItem('00000000-0000-0000-0000-000000000000'),
    '00000000-0000-0000-0000-000000000000',
  ];
  $data[] = [
    new ImportQueueItem('00000000-0001-0000-0000-000000000000'),
    '00000000-0001-0000-0000-000000000000',
  ];
  $data[] = [
    new ImportQueueItem('00000000-0002-0000-0000-000000000000'),
    '00000000-0002-0000-0000-000000000000',
  ];
  $data[] = [
    new ImportQueueItem('00000000-0003-0000-0000-000000000000'),
    '00000000-0003-0000-0000-000000000000',
  ];
  return $data;
}