@Test
public void jsonview_persitence_should_persist_component_name_and_description() throws Exception {

    Page pageInitial = PageBuilder.aPage().with(anInput().withDescription("A mandatory name input").build()).build();
    //We serialize and deserialize our object
    Page pageAfterJsonProcessing = objectMapper.readValue(
            objectMapper.writeValueAsString(pageInitial),
            Page.class);
    Component component = (Component) pageAfterJsonProcessing.getRows().get(0).get(0);
    assertThat(component.getDescription()).isNotNull().isNotEmpty();
}