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

    CustomizerAnnotation converter =
        (CustomizerAnnotation) resourceType.getAnnotation(EclipseLink.CUSTOMIZER);
    assertEquals("Foo", converter.getValue());
  }
  public void testSetConverterClassNull() throws Exception {
    ICompilationUnit cu = this.createTestCustomizerWithValue();
    JavaResourceType resourceType = buildJavaResourceType(cu);

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

    converter.setValue(null);
    assertNull(converter.getValue());

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