@Test
void transform() {

    final Generator generator = Generator.forJava();
    final AttributeView attributeView = new AttributeView();
    final Attribute attribute = Attribute.of("attribute");
    assertTrue(attributeView.transform(generator, attribute).isPresent());
    attribute.setEscape(false);
    assertTrue(attributeView.transform(generator, attribute).isPresent());
}