<NME> DerivedClassScannerTest.php
<BEF> <?php

namespace ZendTest\Code\Scanner\DerivedScanner;

use Zend\Code\Scanner\DirectoryScanner,
    Zend\Code\Scanner\DerivedScanner\AggregateDirectoryScanner,
    Zend\Code\Scanner\DerivedScanner\DerivedClassScanner;

class DerivedClassScannerTest extends \PHPUnit_Framework_TestCase
{

use PHPUnit\Framework\TestCase;
use Zend\Code\Scanner\AggregateDirectoryScanner;
use Zend\Code\Scanner\DirectoryScanner;

        $ads = new AggregateDirectoryScanner();
        $ads->addScanner($ds);
        $c = $ads->getClass('ZendTest\Code\Scanner\TestAsset\MapperExample\RepositoryB');
        //echo $c->getName();
        //var_dump($c->getMethods(true));
        var_dump($c->getProperties());
    }
    
        $ads = new AggregateDirectoryScanner();
        $ads->addDirectoryScanner($ds);
        $c = $ads->getClass(TestAsset\MapperExample\RepositoryB::class);
        self::assertEquals(TestAsset\MapperExample\RepositoryB::class, $c->getName());
    }
}

<MSG> Addition of NameInformation class for tracking and resolving names by namespace/uses
Removed alternate class instantiations from Zend\Code Scanner

<DFF> @@ -1,10 +1,10 @@
 <?php
 
-namespace ZendTest\Code\Scanner\DerivedScanner;
+namespace ZendTest\Code\Scanner;
 
 use Zend\Code\Scanner\DirectoryScanner,
-    Zend\Code\Scanner\DerivedScanner\AggregateDirectoryScanner,
-    Zend\Code\Scanner\DerivedScanner\DerivedClassScanner;
+    Zend\Code\Scanner\AggregateDirectoryScanner,
+    Zend\Code\Scanner\DerivedClassScanner;
 
 class DerivedClassScannerTest extends \PHPUnit_Framework_TestCase
 {
@@ -16,8 +16,6 @@ class DerivedClassScannerTest extends \PHPUnit_Framework_TestCase
         $ads = new AggregateDirectoryScanner();
         $ads->addScanner($ds);
         $c = $ads->getClass('ZendTest\Code\Scanner\TestAsset\MapperExample\RepositoryB');
-        //echo $c->getName();
-        //var_dump($c->getMethods(true));
         var_dump($c->getProperties());
     }
     

Addition of NameInformation class for tracking and resolving names by namespace/uses Removed alternate class instantiations from Zend\Code Scanner