def METHOD_NAME(self):
    n0 = moosetree.Node(None, 'root')
    self.assertIs(n0.parent, None)
    self.assertEqual(n0.name, 'root')
    self.assertEqual(n0.children, [])
    self.assertEqual(n0.attributes, dict())
    n1 = moosetree.Node(n0, 'one')
    self.assertEqual(n1.name, 'one')
    self.assertIs(n1.parent, n0)
    self.assertEqual(n1.children, [])
    self.assertEqual(n1.attributes, dict())
    self.assertIs(n0(0), n1)
    self.assertEqual(n0.children, [n1])
    with self.assertRaises(AttributeError):
        n0.name = 'foo'