public function testA8()
 {
     $this->logger->info('START test A8 : Crossreference number of <registrering> against value in arkivuttrekk.xml');
     $testProperty = new TestProperty(Constants::TEST_COUNT_MAPPE_ARKIVUTTREKK);
     try {
         if ($this->statistics === null) {
             $this->parseArkivstruktur();
         }
         $arkivstrukturInfo = $this->arkivUttrekkDetails->getArkivstruktur();
         $numberOfRegistrationReportedInArkivUttrekk = $arkivstrukturInfo->getNumberRegistrering();
         $documentDirectoryTest = new CheckNumberObjectsArkivutrekk(Constants::TEST_COUNT_MAPPE_ARKIVUTTREKK, $numberOfRegistrationReportedInArkivUttrekk, $this->statistics->getNumberOfRecordProcessed(), Constants::NAME_ARKIVSTRUKTUR_XML, 'registrering', $testProperty);
         $documentDirectoryTest->runTest();
         if ($testProperty->getTestResult() == true) {
             $this->logger->info(' RESULT The number of registrering in arkivstruktur.xml (' . $this->statistics->getNumberOfRecordProcessed() . ') equals the number in arkivuttrekk.xml (' . $numberOfRegistrationReportedInArkivUttrekk . ')');
         } else {
             $this->logger->error(' RESULT The number of registrering in arkivstruktur.xml (' . $this->statistics->getNumberOfRecordProcessed() . ') does not equal the number in arkivuttrekk.xml (' . $numberOfRegistrationReportedInArkivUttrekk . ')');
         }
         $this->testResultsHandler->addResult($testProperty, Constants::TEST_TYPE_A8);
     } catch (Exception $e) {
         $this->logger->error("Error when attempting test " . $testProperty->getDescription() . ". The following exception occured " . $e);
     }
     $this->logger->info('END test A8');
     $this->logger->info('');
 }