### Question:
Model { public List<Property> getProperties() { return Collections.unmodifiableList(Arrays.asList(properties)); } Model(ModelBuilder parent, Class<T> type, @CheckForNull Class<?> propertyOwner, @Nullable String property); List<Property> getProperties(); void writeTo(T object, DataWriter writer); void writeTo(T object, TreePruner pruner, DataWriter writer); @Deprecated void writeTo(T object, int baseVisibility, DataWriter writer); final Class<T> type; final Model<? super T> superModel; }### Answer:
@Test public void syntheticMethodShouldNotBeExported() { Model<Impl> model = builder.get(Impl.class); assertEquals("Redundant properties discovered: " + model.getProperties(), 1, model.getProperties().size()); }