public function testKeyShouldReturnCurrentPageHash() { $container = new Zend_Navigation(); $page = Zend_Navigation_Page::factory(array('type' => 'uri')); $container->addPage($page); $this->assertEquals($page->hashCode(), $container->key()); }