InterfaceFieldImpl implements InterfaceField { @Override public InterfaceField setName(String name) { f.setName(name); return this; } InterfaceFieldImpl(Field wrapped); @Override InterfaceField setParent(Interface parent); @Override Optional<Interface> getParent(); @Override String getName(); @Override Type getType(); @Override Set<Modifier> getModifiers(); @Override Optional<Javadoc> getJavadoc(); @Override Optional<Value<?>> getValue(); @Override List<AnnotationUsage> getAnnotations(); @Override List<Import> getImports(); @Override InterfaceField setName(String name); @Override InterfaceField set(Type type); @Override InterfaceField set(Javadoc doc); @Override InterfaceField set(Value<?> val); @Override InterfaceFieldImpl copy(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test void setName() { instance().setName(OTHER_NAME); assertEquals(OTHER_NAME, instance().getName()); }