def METHOD_NAME(self):
    # Test item access on an EmptyNodeList.
    node_list = EmptyNodeList()
    self.assertIsNone(node_list.item(0))
    self.assertIsNone(node_list.item(-1)) # invalid item
    with self.assertRaises(IndexError):
        node_list[0]
    with self.assertRaises(IndexError):
        node_list[-1]