public function UnitedKingdomVatTest::testGetZones in Commerce Core 8.2
@covers ::getZones
Overrides EuropeanUnionVatTest::testGetZones
File
- modules/
tax/ tests/ src/ Kernel/ Plugin/ Commerce/ TaxType/ UnitedKingdomVatTest.php, line 67
Class
- UnitedKingdomVatTest
- @coversDefaultClass \Drupal\commerce_tax\Plugin\Commerce\TaxType\UnitedKingdomVat @group commerce
Namespace
Drupal\Tests\commerce_tax\Kernel\Plugin\Commerce\TaxTypeCode
public function testGetZones() {
/** @var \Drupal\commerce_tax\Plugin\Commerce\TaxType\LocalTaxTypeInterface $plugin */
$plugin = $this->taxType
->getPlugin();
$zones = $plugin
->getZones();
$this
->assertArrayHasKey('gb', $zones);
}