@Test
void transform() {

    final Generator generator = Generator.forJava();
    final DocTypeView docTypeView = new DocTypeView();
    final DocType docType = DocType.of("type");
    assertTrue(docTypeView.transform(generator, docType).isPresent());
}