public void testNewAnnotationLiteralWizardWithMembers() {
    WizardContext context = new WizardContext();
    context.init(
        "org.jboss.tools.cdi.ui.wizard.NewAnnotationLiteralCreationWizard",
        PACK_NAME,
        "NewLiteral");

    ICDIProject cdi = CDICorePlugin.getCDIProject(context.tck, true);

    try {
      NewAnnotationLiteralWizardPage page = (NewAnnotationLiteralWizardPage) context.page;

      page.setQualifier("javax.enterprise.inject.New");

      context.wizard.performFinish();

      String text = context.getNewTypeContent();
      //			System.out.println(text);

      assertTrue(text.contains("AnnotationLiteral<New>"));
      assertTrue(text.contains("private final Class<?> value;"));
    } finally {
      context.close();
    }
  }
  public void testNewAnnotationLiteralWizard() {
    WizardContext context = new WizardContext();
    context.init(
        "org.jboss.tools.cdi.ui.wizard.NewAnnotationLiteralCreationWizard",
        PACK_NAME,
        HAIRY_QUALIFIER + "Literal");

    ICDIProject cdi = CDICorePlugin.getCDIProject(context.tck, true);

    try {
      NewAnnotationLiteralWizardPage page = (NewAnnotationLiteralWizardPage) context.page;

      page.setQualifier(HAIRY_PACK_NAME + "." + HAIRY_QUALIFIER);

      context.wizard.performFinish();

      String text = context.getNewTypeContent();
      //			System.out.println(text);

      assertTrue(text.contains("AnnotationLiteral<" + HAIRY_QUALIFIER + ">"));
    } finally {
      context.close();
    }
  }