function CurrencyDeleteFormTest::testCreate in Currency 8.3
@covers ::create @covers ::__construct
File
- tests/
src/ Unit/ Entity/ Currency/ CurrencyDeleteFormTest.php, line 68
Class
- CurrencyDeleteFormTest
- @coversDefaultClass \Drupal\currency\Entity\Currency\CurrencyDeleteForm
Namespace
Drupal\Tests\currency\Unit\Entity\CurrencyCode
function testCreate() {
$container = $this
->createMock(ContainerInterface::class);
$container
->expects($this
->once())
->method('get')
->with('string_translation')
->willReturn($this->stringTranslation);
$sut = CurrencyDeleteForm::create($container);
$this
->assertInstanceOf(CurrencyDeleteForm::class, $sut);
}