@Test
  public void testEnumAnnotation() {
    assertGeneratedMatches(
        getImports(PropertyAnnotationsTest.class),
        ImmutableList.of(
            TEST_ANNOTATION
                + "(testEnum = "
                + PropertyAnnotationsTest.class.getName()
                + ".TestEnum.A)"),
        ImmutableList.of(TEST_ANNOTATION + "(testEnum = PropertyAnnotationsTest.TestEnum.A)"));
  }
Tests to ensure annotations are kept on AutoValue generated classes

@author jmcampanini
value/src/test/java/com/google/auto/value/processor/PropertyAnnotationsTest.java