def METHOD_NAME(self):
    v1 = symexp('((foo ** 2) << 1) + (bar * 3) - 4 > 0')
    def walker(path, kid, ctx):
        order.append(kid)
    order = []
    v1.walkTree(walker, ctx=order)
    correct = ['foo',
               '2',
               '(foo ** 2)',
               '1',
               '((foo ** 2) << 1)',
               'bar',
               '3',
               '(bar * 3)',
               '(((foo ** 2) << 1) + (bar * 3))',
               '4',
               '((((foo ** 2) << 1) + (bar * 3)) - 4)',
               '0',
               '(((((foo ** 2) << 1) + (bar * 3)) - 4) > 0)']
    if len(order) != len(correct):
        self.fail('test_walktree, visit produced unexpected results')
    for i in range(len(order)):
        self.assertTrue(str(order[i]) == correct[i])