Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DomDocumentFactoryTest.php
Go to the documentation of this file.
1 <?php
8 
10 
11 class DomDocumentFactoryTest extends \PHPUnit\Framework\TestCase
12 {
13  public function testCreateReturnsDomDocument()
14  {
15  $domDocumentFactory = new DomDocumentFactory();
16  $this->assertInstanceOf(
17  \DOMDocument::class,
18  $domDocumentFactory->create()
19  );
20  }
21 }