public function FormatEncoderTestBase::setUp in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_export/tests/src/Kernel/FormatEncoderTestBase.php \Drupal\Tests\bibcite_export\Kernel\FormatEncoderTestBase::setUp()
Overrides KernelTestBase::setUp
6 calls to FormatEncoderTestBase::setUp()
- BibtexEncodeTest::setUp in modules/
bibcite_bibtex/ tests/ src/ Kernel/ BibtexEncodeTest.php - Endnote7EncodeTest::setUp in modules/
bibcite_endnote/ tests/ src/ Kernel/ Endnote7EncodeTest.php - Endnote8EncodeTest::setUp in modules/
bibcite_endnote/ tests/ src/ Kernel/ Endnote8EncodeTest.php - MarcEncodeTest::setUp in modules/
bibcite_marc/ tests/ src/ Kernel/ MarcEncodeTest.php - RisEncodeTest::setUp in modules/
bibcite_ris/ tests/ src/ Kernel/ RisEncodeTest.php
6 methods override FormatEncoderTestBase::setUp()
- BibtexEncodeTest::setUp in modules/
bibcite_bibtex/ tests/ src/ Kernel/ BibtexEncodeTest.php - Endnote7EncodeTest::setUp in modules/
bibcite_endnote/ tests/ src/ Kernel/ Endnote7EncodeTest.php - Endnote8EncodeTest::setUp in modules/
bibcite_endnote/ tests/ src/ Kernel/ Endnote8EncodeTest.php - MarcEncodeTest::setUp in modules/
bibcite_marc/ tests/ src/ Kernel/ MarcEncodeTest.php - RisEncodeTest::setUp in modules/
bibcite_ris/ tests/ src/ Kernel/ RisEncodeTest.php
File
- modules/
bibcite_export/ tests/ src/ Kernel/ FormatEncoderTestBase.php, line 37
Class
- FormatEncoderTestBase
- Base class for encode function testing.
Namespace
Drupal\Tests\bibcite_export\KernelCode
public function setUp() {
parent::setUp();
$this->formatManager = $this->container
->get('plugin.manager.bibcite_format');
$this->serializer = $this->container
->get('serializer');
}