You are here

function CurrencyLocaleDeleteFormTest::testCreate in Currency 8.3

@covers ::create @covers ::__construct

File

tests/src/Unit/Entity/CurrencyLocale/CurrencyLocaleDeleteFormTest.php, line 68

Class

CurrencyLocaleDeleteFormTest
@coversDefaultClass \Drupal\currency\Entity\CurrencyLocale\CurrencyLocaleDeleteForm

Namespace

Drupal\Tests\currency\Unit\Entity\CurrencyLocale

Code

function testCreate() {
  $container = $this
    ->createMock(ContainerInterface::class);
  $container
    ->expects($this
    ->once())
    ->method('get')
    ->with('string_translation')
    ->willReturn($this->stringTranslation);
  $sut = CurrencyLocaleDeleteForm::create($container);
  $this
    ->assertInstanceOf(CurrencyLocaleDeleteForm::class, $sut);
}