public function testSetActiveShouldJuggleValue() { $page = new Zend_Navigation_Page_Uri(); $page->setActive(1); $this->assertTrue($page->getActive()); $page->setActive('true'); $this->assertTrue($page->getActive()); $page->setActive(0); $this->assertFalse($page->getActive()); $page->setActive(array()); $this->assertFalse($page->getActive()); }