public void testSetConverterClass() throws Exception {
    ICompilationUnit cu = this.createTestCustomizerWithValue();
    JavaResourceType resourceType = buildJavaResourceType(cu);

    CustomizerAnnotation converter =
        (CustomizerAnnotation) resourceType.getAnnotation(EclipseLink.CUSTOMIZER);
    assertEquals("Foo", converter.getValue());

    converter.setValue("Bar");
    assertEquals("Bar", converter.getValue());

    assertSourceContains("@Customizer(Bar.class)", cu);
  }