### Question:
InterfaceMethodImpl implements InterfaceMethod { @Override public InterfaceMethod setParent(Interface parent) { m.setParent(parent); return this; } InterfaceMethodImpl(Method wrapped); @Override InterfaceMethod setParent(Interface parent); @Override Optional<Interface> getParent(); @Override String getName(); @Override Type getType(); @Override List<Field> getFields(); @Override List<String> getCode(); @Override Set<Modifier> getModifiers(); @Override Optional<Javadoc> getJavadoc(); @Override List<AnnotationUsage> getAnnotations(); @Override List<Import> getImports(); @Override InterfaceMethod setName(String name); @Override InterfaceMethod set(Type type); @Override List<Generic> getGenerics(); @Override InterfaceMethod set(Javadoc doc); @Override Set<Type> getExceptions(); @Override InterfaceMethodImpl copy(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test void setParent() { final Interface inter = Interface.of("V"); instance().setParent(inter); assertEquals(inter, instance().getParent().orElseThrow(NoSuchElementException::new)); }