@Test
void transform() {

    final Generator generator = Generator.forJava();
    final ContentElementView contentElementView = new ContentElementView();
    final ContentElement contentElement = ContentElement.of("element");
    assertTrue(contentElementView.transform(generator, contentElement).isPresent());
    contentElement.setEscape(false);
    assertTrue(contentElementView.transform(generator, contentElement).isPresent());
}