public function parentContextIsConnectedRecursively() { $context = new ApplicationContext('Production/Foo/Bar'); $parentContext = $context->getParent(); $this->assertSame('Production/Foo', (string) $parentContext); $rootContext = $parentContext->getParent(); $this->assertSame('Production', (string) $rootContext); }