You are here

protected function PrintFormatTest::getLinkExtractorIncludeStub 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::getLinkExtractorIncludeStub()

Get the Link extractor stub.

6 calls to PrintFormatTest::getLinkExtractorIncludeStub()
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 157

Class

PrintFormatTest
Tests the print format plugin.

Namespace

Drupal\Tests\printable\Unit\Plugin\PrintableFormat

Code

protected function getLinkExtractorIncludeStub() {
  return $this
    ->getMockBuilder('Drupal\\printable\\LinkExtractor\\LinkExtractorInterface')
    ->disableOriginalConstructor()
    ->getMock();
}