You are here

public function FormHelperTest::testCurrencyOptionsWithoutLimitation in Currency 8.3

@covers ::getCurrencyOptions

File

tests/src/Unit/FormHelperTest.php, line 87

Class

FormHelperTest
@coversDefaultClass \Drupal\currency\FormHelper

Namespace

Drupal\Tests\currency\Unit

Code

public function testCurrencyOptionsWithoutLimitation() {
  $this->currencyStorage
    ->expects($this
    ->once())
    ->method('loadMultiple')
    ->willReturn([]);
  $this
    ->assertSame([], $this->sut
    ->getCurrencyOptions(NULL));
}