def METHOD_NAME(self):
    dt = DirectoryTree(None, folders=self.ROOTS)
    menu = dt._create_menu()
    dt._popup_menu(menu)
    children = menu.get_children()
    self.failUnlessEqual(len(children), 4)
    delete = children[1]
    self.failUnlessEqual(delete.get_label(), __("_Delete"))
    self.failUnless(delete.get_sensitive())