You are here

public function CommerceExchangerCalculatorTest::testExchangerId in Commerce Exchanger 8

@covers ::getExchangerId

File

tests/src/Kernel/CommerceExchangerCalculatorTest.php, line 100

Class

CommerceExchangerCalculatorTest
Tests the exchanger calculator.

Namespace

Drupal\Tests\commerce_exchanger\Kernel

Code

public function testExchangerId() {
  $this
    ->assertEqual($this->exchangerId, $this->container
    ->get('commerce_exchanger.calculate')
    ->getExchangerId());
}