public function CurrencyTest::testConstructWithoutMethod in Currency 8.3
@covers ::__construct
File
- tests/
src/ Unit/ Plugin/ views/ field/ CurrencyTest.php, line 76
Class
- CurrencyTest
- @coversDefaultClass \Drupal\currency\Plugin\views\field\Currency
Namespace
Drupal\Tests\currency\Unit\Plugin\views\fieldCode
public function testConstructWithoutMethod() {
$this
->expectException(\InvalidArgumentException::class);
$plugin_id = $this
->randomMachineName();
$this->sut = new Currency([], $plugin_id, $this->pluginDefinition, $this->stringTranslation, $this->currencyStorage);
}