/** * @return void */ public function testSetContainerCreatesRegistersContainerInstance() { $foo = new Zend_View_Helper_Placeholder_Container(array('foo', 'bar')); $this->assertFalse($this->registry->containerExists('foo')); $this->registry->setContainer('foo', $foo); $container = $this->registry->getContainer('foo'); $this->assertSame($foo, $container); }