@Test
void messageComments() {

    compile(messageGenerator, "protostuff_unittest/comments.proto");
    Assertions.assertEquals(1, json.size());
    Assertions.assertEquals(ImmutableMessageDescriptor.builder()
            .name("A")
            .type(NodeType.MESSAGE)
            .canonicalName("protostuff_unittest.A")
            .description("message comment")
            .addFields(ImmutableMessageField.builder()
                    .name("field")
                    .typeId("int32")
                    .modifier(MessageFieldModifier.OPTIONAL)
                    .tag(1)
                    .map(false)
                    .description("field comment")
                    .build())
            .build(), json.get(0));
}