@Test
public void end_returns_parent_writer() throws Exception {

  FileContextTestImpl fileContext = new FileContextTestImpl();
  DAWriter parent = new DAWriter() {
  };
  DAClassWriter<DAWriter> classWriter = new DAClassWriter<DAWriter>(NAME_DATYPE, fileContext,
      parent, 1
  );
  assertThat(classWriter.end()).isSameAs(parent);
}