You are here

public function TaxZoneTest::testMissingProperty in Commerce Core 8.2

@covers ::__construct

File

modules/tax/tests/src/Kernel/TaxZoneTest.php, line 18

Class

TaxZoneTest
@coversDefaultClass \Drupal\commerce_tax\TaxZone @group commerce

Namespace

Drupal\Tests\commerce_tax\Kernel

Code

public function testMissingProperty() {
  $this
    ->expectException(\InvalidArgumentException::class);
  $definition = [
    'id' => 'test',
  ];
  new TaxZone($definition);
}