public function testConvert()
 {
     $testDom = $this->_filePath . 'export.xml';
     $dom = new \DOMDocument();
     $dom->load($testDom);
     $expectedArray = (include $this->_filePath . 'export.php');
     $this->assertEquals($expectedArray, $this->_model->convert($dom));
 }
 public function testConvertWithDisabledModules()
 {
     $testDom = $this->filePath . 'export.xml';
     $dom = new \DOMDocument();
     $dom->load($testDom);
     $notExpectedArray = (include $this->filePath . 'export.php');
     $this->moduleManager->expects($this->any())->method('isOutputEnabled')->willReturn(false);
     $this->assertNotEquals($notExpectedArray, $this->model->convert($dom));
 }