@BeforeClass
    public void setUp()
    {
        MeiyoVisitor.createVisitor( new AbstractVisitorConfiguration()
        {

            @Override
            public void configure()
            {
                handleType().annotatedWith( ClassAnnotation.class ).withHandler( new AnnotationHandler<Class, ClassAnnotation>()
                                                                                 {
                                                                                     public void handle( Class annnotatedElement,
                                                                                                         ClassAnnotation annotation )
                                                                                     {
                                                                                         foundClassAnnotation = true;
                                                                                     }
                                                                                 } );

                handleConstructor().annotatedWith( ConstructorAnnotation.class ).withHandler( new AnnotationHandler<Constructor, ConstructorAnnotation>()
                                                                                              {
                                                                                                  public void handle( Constructor annnotatedElement,
                                                                                                                      ConstructorAnnotation annotation )
                                                                                                  {
                                                                                                      foundConstructorAnnotation =
                                                                                                          true;
                                                                                                  }
                                                                                              } );

                handleMethod().annotatedWith( MethodAnnotation.class ).withHandler( new AnnotationHandler<Method, MethodAnnotation>()
                                                                                    {
                                                                                        public void handle( Method annnotatedElement,
                                                                                                            MethodAnnotation annotation )
                                                                                        {
                                                                                            foundMethodAnnotation =
                                                                                                true;
                                                                                        }
                                                                                    } );
            }

        } ).visit( AnnotatedBean.class );
    }