def METHOD_NAME(self):
    t = self._build_tree()
    self.assertEqual(2, len(find_all(t, "//NameNode[@name]")))
    self.assertEqual(ExprNodes.NameNode,
                     type(find_first(t, "//NameNode[@name]")))