You are here

public function BigPipeResponseAttachmentsProcessorTest::nonHtmlResponseProvider in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php \Drupal\Tests\big_pipe\Unit\Render\BigPipeResponseAttachmentsProcessorTest::nonHtmlResponseProvider()
  2. 9 core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php \Drupal\Tests\big_pipe\Unit\Render\BigPipeResponseAttachmentsProcessorTest::nonHtmlResponseProvider()

File

core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php, line 40

Class

BigPipeResponseAttachmentsProcessorTest
@coversDefaultClass \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor @group big_pipe

Namespace

Drupal\Tests\big_pipe\Unit\Render

Code

public function nonHtmlResponseProvider() {
  return [
    'AjaxResponse, which implements AttachmentsInterface' => [
      AjaxResponse::class,
    ],
    'A dummy that implements AttachmentsInterface' => [
      get_class($this
        ->prophesize(AttachmentsInterface::class)
        ->reveal()),
    ],
  ];
}