You are here

protected function PrintFormatTest::getCssIncludeStub in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php \Drupal\Tests\printable\Unit\Plugin\PrintableFormat\PrintFormatTest::getCssIncludeStub()

Get the CSS include stub.

6 calls to PrintFormatTest::getCssIncludeStub()
PrintFormatTest::testDefaultConfiguration in tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php
Tests getting the default configuration for this plugin.
PrintFormatTest::testGetConfiguration in tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php
Tests getting the current configuration for this plugin.
PrintFormatTest::testGetDescription in tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php
Tests getting the plugin description from the plugin.
PrintFormatTest::testGetLabel in tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php
Tests getting the plugin label from the plugin.
PrintFormatTest::testGetPassedInConfiguration in tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php
Tests that additional configuration is internally stored and accessible.

... See full list

File

tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php, line 148

Class

PrintFormatTest
Tests the print format plugin.

Namespace

Drupal\Tests\printable\Unit\Plugin\PrintableFormat

Code

protected function getCssIncludeStub() {
  return $this
    ->getMockBuilder('Drupal\\printable\\PrintableCssIncludeInterface')
    ->disableOriginalConstructor()
    ->getMock();
}