You are here

function CurrencyLocaleTest::testGetDecimalSeparator in Currency 8.3

@covers ::setDecimalSeparator @covers ::getDecimalSeparator

File

tests/src/Unit/Entity/CurrencyLocaleTest.php, line 58

Class

CurrencyLocaleTest
@coversDefaultClass \Drupal\currency\Entity\CurrencyLocale

Namespace

Drupal\Tests\currency\Unit\Entity

Code

function testGetDecimalSeparator() {
  $separator = $this
    ->randomMachineName();
  $this
    ->assertSame($this->sut, $this->sut
    ->setDecimalSeparator($separator));
  $this
    ->assertSame($separator, $this->sut
    ->getDecimalSeparator());
}