LicenseTermImpl implements LicenseTerm { @Override public LicenseTerm setText(String text) { this.text = text; return this; } LicenseTermImpl();  LicenseTermImpl(final String text); protected  LicenseTermImpl(final LicenseTerm prototype); @Override LicenseTerm setParent(HasLicenseTerm<?> parent); @Override Optional<HasLicenseTerm<?>> getParent(); @Override String getText(); @Override LicenseTerm setText(String text); @Override LicenseTermImpl copy(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test void setText() { final String text = "V"; instance().setText(text); assertEquals(text, instance().getText()); }