You are here

public function FormatDecoderTestBase::setUp in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_import/tests/src/Kernel/FormatDecoderTestBase.php \Drupal\Tests\bibcite_import\Kernel\FormatDecoderTestBase::setUp()

Overrides KernelTestBase::setUp

7 calls to FormatDecoderTestBase::setUp()
BibtexCaseDecodeTest::setUp in modules/bibcite_bibtex/tests/src/Kernel/BibtexCaseDecodeTest.php
BibtexDecodeTest::setUp in modules/bibcite_bibtex/tests/src/Kernel/BibtexDecodeTest.php
Endnote7DecodeTest::setUp in modules/bibcite_endnote/tests/src/Kernel/Endnote7DecodeTest.php
Endnote8DecodeTest::setUp in modules/bibcite_endnote/tests/src/Kernel/Endnote8DecodeTest.php
MarcDecodeTest::setUp in modules/bibcite_marc/tests/src/Kernel/MarcDecodeTest.php

... See full list

7 methods override FormatDecoderTestBase::setUp()
BibtexCaseDecodeTest::setUp in modules/bibcite_bibtex/tests/src/Kernel/BibtexCaseDecodeTest.php
BibtexDecodeTest::setUp in modules/bibcite_bibtex/tests/src/Kernel/BibtexDecodeTest.php
Endnote7DecodeTest::setUp in modules/bibcite_endnote/tests/src/Kernel/Endnote7DecodeTest.php
Endnote8DecodeTest::setUp in modules/bibcite_endnote/tests/src/Kernel/Endnote8DecodeTest.php
MarcDecodeTest::setUp in modules/bibcite_marc/tests/src/Kernel/MarcDecodeTest.php

... See full list

File

modules/bibcite_import/tests/src/Kernel/FormatDecoderTestBase.php, line 32

Class

FormatDecoderTestBase
Base class for encode function testing.

Namespace

Drupal\Tests\bibcite_import\Kernel

Code

public function setUp() {
  parent::setUp();
  $this->formatManager = $this->container
    ->get('plugin.manager.bibcite_format');
  $this->serializer = $this->container
    ->get('serializer');
}