function BigPipeResponseAttachmentsProcessorTest::createBigPipeResponseAttachmentsProcessor
Same name in other branches
- 9 core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php \Drupal\Tests\big_pipe\Unit\Render\BigPipeResponseAttachmentsProcessorTest::createBigPipeResponseAttachmentsProcessor()
- 8.9.x core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php \Drupal\Tests\big_pipe\Unit\Render\BigPipeResponseAttachmentsProcessorTest::createBigPipeResponseAttachmentsProcessor()
- 11.x core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php \Drupal\Tests\big_pipe\Unit\Render\BigPipeResponseAttachmentsProcessorTest::createBigPipeResponseAttachmentsProcessor()
Creates a BigPipeResponseAttachmentsProcessor with mostly dummies.
Parameters
\Prophecy\Prophecy\ObjectProphecy $decorated_html_response_attachments_processor: An object prophecy implementing AttachmentsResponseProcessorInterface.
Return value
\Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor The BigPipeResponseAttachmentsProcessor to test.
2 calls to BigPipeResponseAttachmentsProcessorTest::createBigPipeResponseAttachmentsProcessor()
- BigPipeResponseAttachmentsProcessorTest::testHtmlResponse in core/
modules/ big_pipe/ tests/ src/ Unit/ Render/ BigPipeResponseAttachmentsProcessorTest.php - @covers ::processAttachments
- BigPipeResponseAttachmentsProcessorTest::testNonHtmlResponse in core/
modules/ big_pipe/ tests/ src/ Unit/ Render/ BigPipeResponseAttachmentsProcessorTest.php - @covers ::processAttachments
File
-
core/
modules/ big_pipe/ tests/ src/ Unit/ Render/ BigPipeResponseAttachmentsProcessorTest.php, line 134
Class
- BigPipeResponseAttachmentsProcessorTest
- @coversDefaultClass \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor @group big_pipe
Namespace
Drupal\Tests\big_pipe\Unit\RenderCode
protected function createBigPipeResponseAttachmentsProcessor(ObjectProphecy $decorated_html_response_attachments_processor) {
return new BigPipeResponseAttachmentsProcessor($decorated_html_response_attachments_processor->reveal(), $this->prophesize(AssetResolverInterface::class)
->reveal(), $this->prophesize(ConfigFactoryInterface::class)
->reveal(), $this->prophesize(AssetCollectionRendererInterface::class)
->reveal(), $this->prophesize(AssetCollectionRendererInterface::class)
->reveal(), $this->prophesize(RequestStack::class)
->reveal(), $this->prophesize(RendererInterface::class)
->reveal(), $this->prophesize(ModuleHandlerInterface::class)
->reveal(), $this->prophesize(LanguageManagerInterface::class)
->reveal());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.