EDITest\AnalyserTest::testGetMessageStructure PHP Method

testGetMessageStructure() public method

    public function testGetMessageStructure()
    {
        //$mapping = new \EDI\Mapping\MappingProvider('D07A');
        $messageXml = $this->mapping->getMessage('tpfrep');
        //$messageXml =  __DIR__."/../../src/EDI/Mapping/D07A/messages/tpfrep.xml";
        $expected = (include __DIR__ . "/../files/messages/tpfrep.php");
        $actual = $this->analyser->loadMessageXml($messageXml);
        $this->assertEquals($expected, $actual, "Unable to get the correct message structure array");
    }