public function ExchangeRateTest::testGetExchangeRateProviderId in Currency 8.3
@covers ::getExchangeRateProviderId @covers ::setExchangeRateProviderId
File
- tests/
src/ Unit/ ExchangeRateTest.php, line 60
Class
- ExchangeRateTest
- @coversDefaultClass \Drupal\currency\ExchangeRate
Namespace
Drupal\Tests\currency\UnitCode
public function testGetExchangeRateProviderId() {
$id = $this
->randomMachineName();
$this
->assertSame($this->sut, $this->sut
->setExchangeRateProviderId($id));
$this
->assertSame($id, $this->sut
->getExchangeRateProviderId());
}