You are here

protected function EuropeanUnionVatTest::setUp in Commerce Core 8.2

Same name in this branch
  1. 8.2 modules/tax/tests/src/Kernel/Plugin/Commerce/TaxType/EuropeanUnionVatTest.php \Drupal\Tests\commerce_tax\Kernel\Plugin\Commerce\TaxType\EuropeanUnionVatTest::setUp()
  2. 8.2 modules/tax/tests/src/Kernel/Plugin/Commerce/TaxNumberType/EuropeanUnionVatTest.php \Drupal\Tests\commerce_tax\Kernel\Plugin\Commerce\TaxNumberType\EuropeanUnionVatTest::setUp()

Overrides OrderKernelTestBase::setUp

File

modules/tax/tests/src/Kernel/Plugin/Commerce/TaxNumberType/EuropeanUnionVatTest.php, line 34

Class

EuropeanUnionVatTest
@coversDefaultClass \Drupal\commerce_tax\Plugin\Commerce\TaxNumberType\EuropeanUnionVat @group commerce

Namespace

Drupal\Tests\commerce_tax\Kernel\Plugin\Commerce\TaxNumberType

Code

protected function setUp() : void {
  parent::setUp();
  $plugin_manager = $this->container
    ->get('plugin.manager.commerce_tax_number_type');
  $this->plugin = $plugin_manager
    ->createInstance('european_union_vat');
}