You are here

public function CurrencyRepositoryTest::testUnknownGet in Commerce Core 8.2

@covers ::get

File

modules/price/tests/src/Kernel/CurrencyRepositoryTest.php, line 40

Class

CurrencyRepositoryTest
Tests the currency repository.

Namespace

Drupal\Tests\commerce_price\Kernel

Code

public function testUnknownGet() {
  $this
    ->expectException(UnknownCurrencyException::class);
  $this->currencyRepository
    ->get('RSD');
}