FileImpl implements File { @Override public File setName(String name) { this.name = requireNonNull(name); return this; } FileImpl(String name); protected  FileImpl(File prototype); @Override File setName(String name); @Override String getName(); @Override File set(Javadoc doc); @Override File set(LicenseTerm doc); @Override Optional<Javadoc> getJavadoc(); @Override Optional<LicenseTerm> getLicenseTerm(); @Override List<Import> getImports(); @Override List<ClassOrInterface<?>> getClasses(); @Override FileImpl copy(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test void setName() { instance().setName("Z"); assertNotEquals(NAME, instance().getName()); }