public function testChainedContainers() { $pimpleGrandParent = new PimpleInterop(); $pimpleGrandParent['hello'] = 'world'; $pimpleParent = new PimpleInterop($pimpleGrandParent); $pimple = new PimpleInterop($pimpleParent); $this->assertEquals('world', $pimple->get('hello')); $this->assertTrue($pimple->has('hello')); $this->assertFalse($pimple->has('world')); }