Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
UnitofmeasureTest.php
Go to the documentation of this file.
1 <?php
7 
11 class UnitofmeasureTest extends \PHPUnit\Framework\TestCase
12 {
16  public function testToHtml()
17  {
20  \Magento\Framework\View\LayoutInterface::class
21  );
23  $block = $layout->createBlock(\Magento\Dhl\Block\Adminhtml\Unitofmeasure::class);
24  $this->assertNotEmpty($block->toHtml());
25  }
26 }
$block
Definition: block.php:8