public function testIsNotRoot() { $nestedset = new NestedSet_Model(); $db = Zend_Db::factory('Pdo_Sqlite', array('dbname' => 'tests/test.db')); $nestedset->setDb($db); $nestedset->setTableName('nested'); $nestedset->add('foo'); $nestedset->add('bar'); $this->assertFalse($nestedset->isRoot(1)); }