def METHOD_NAME(self):
    for i in range(self.num_entries - 1):
        self.assertEqual(rb_next(self.node(i)), self.node(i + 1))
    self.assertEqual(
        rb_next(self.node(self.num_entries - 1)),
        NULL(self.prog, "struct rb_node *"),
    )