You are here

public function CurrencyRepositoryTest::testGetList in Commerce Core 8.2

@covers ::getList

File

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

Class

CurrencyRepositoryTest
Tests the currency repository.

Namespace

Drupal\Tests\commerce_price\Kernel

Code

public function testGetList() {
  $expected_list = [
    'EUR' => 'Euro',
    'USD' => 'US Dollar',
  ];
  $this
    ->assertEquals($expected_list, $this->currencyRepository
    ->getList());
}