def test_accept(self):
        """
        Test the accept method.

        @raise AssertionError: If the test fails.
        """
        self.assertEquals('generic_visit A', self.a.accept(self.visitor))
        self.assertEquals('visit_b B', self.b.accept(self.visitor))
        self.assertEquals('visit_b C', self.c.accept(self.visitor))

        Test the accept method.

        @raise AssertionError: If the test fails.
        
tests/behavioral_tests/test_visitor.py