public function testMergeContainerUsesConfigOfOtherIfOwnHasNone() { $config = new Zend_Config(array("bar" => "baz")); $c1 = new Yadif_Container(array()); $c2 = new Yadif_Container(array(), $config); $c1->merge($c2); $this->assertEquals($config, $c1->getConfig()); }