$this->assertEquals(2,$namespace->countMatchingNamespaceSegments('MyPSR4Root\\Foot\\Baz'),'countMatchingNamespaceSegments should only report matches against the registered namespace root. It should not attempt to resolve segments after the registered root.');
$this->assertEquals(2,$namespace->countMatchingNamespaceSegments('MyPSR4Root\\Foot\\Baz\\Foo'),'countMatchingNamespaceSegments should only report matches against the registered namespace root. It should not attempt to resolve segments after the registered root.');
$this->assertFalse($namespace->isAcceptableNamespace('MyPSR4Root'),'MyPSR4Root cannot use the directory mapping for MyPSR4Root\\Foot because it does not include the Foot segment.');
$this->assertTrue($namespace->isAcceptableNamespace('MyPSR4Root\\Foot\\Baz'),'Longer namespaces are acceptable because we can resolve the additional segments');
$this->assertTrue($namespace->isAcceptableNamespace('MyPSR4Root\\Foot\\Baz\\Foo'),'countMatchingNamespaceSegments should only report matches against the registered namespace root. It should not attempt to resolve segments after the registered root.');
$this->assertTrue($namespace->knowsNamespace('MyPSR4Root\\Foot\\Foo'),'countMatchingNamespaceSegments should only report matches against the registered namespace root. It should not attempt to resolve segments after the registered root.');
$this->assertFalse($namespace->knowsNamespace('MyPSR4Root\\Foot\\Cactus'),'countMatchingNamespaceSegments should only report matches against the registered namespace root. It should not attempt to resolve segments after the registered root.');