You are here

public function CurrencyAmountTest::providerTestProcessWithInvalidMaximumAmount in Currency 8.3

Provides data to self::testProcessWithInvalidMaximumAmount().

File

tests/src/Unit/Element/CurrencyAmountTest.php, line 189

Class

CurrencyAmountTest
@coversDefaultClass \Drupal\currency\Element\CurrencyAmount

Namespace

Drupal\Tests\currency\Unit\Element

Code

public function providerTestProcessWithInvalidMaximumAmount() {
  return [
    [
      TRUE,
    ],
    [
      NULL,
    ],
    [
      $this
        ->randomMachineName(),
    ],
    [
      new \stdClass(),
    ],
  ];
}