@Test
public void write_returns_parent_writer() throws Exception {

  FileContextTestImpl fileContext = new FileContextTestImpl();
  DAWriter parent = new DAWriter() {
  };
  DAInterfaceMethodWriter<DAWriter> classWriter = new DAInterfaceMethodWriter<DAWriter>("name",
      DATypeFactory.from(String.class), fileContext, 1, parent
  );
  assertThat(classWriter.write()).isSameAs(parent);
}