You are here

function CurrencyLocaleTest::testGetGroupingSeparator in Currency 8.3

@covers ::setGroupingSeparator @covers ::getGroupingSeparator

File

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

Class

CurrencyLocaleTest
@coversDefaultClass \Drupal\currency\Entity\CurrencyLocale

Namespace

Drupal\Tests\currency\Unit\Entity

Code

function testGetGroupingSeparator() {
  $separator = $this
    ->randomMachineName();
  $this
    ->assertSame($this->sut, $this->sut
    ->setGroupingSeparator($separator));
  $this
    ->assertSame($separator, $this->sut
    ->getGroupingSeparator());
}