@Test public void testParsing() throws Exception { InputStream inputStream = getClass().getClassLoader().getResourceAsStream("testAppTemplate.json"); AppTemplate actual = new ObjectMapper().readValue(inputStream, AppTemplate.class); assertThat(actual.getId(), is("registrationapp.registerPatient")); }
public String getId() { return id; }
AppTemplate { public String getId() { return id; } }
AppTemplate { public String getId() { return id; }  }
AppTemplate { public String getId() { return id; }  String getId(); void setId(String id); String getDescription(); void setDescription(String description); List<ExtensionPoint> getExtensionPoints(); void setExtensionPoints(List<ExtensionPoint> extensionPoints); List<String> getContextModel(); void setContextModel(List<String> contextModel); List<AppTemplateConfigurationOption> getConfigOptions(); void setConfigOptions(List<AppTemplateConfigurationOption> configOptions); }
AppTemplate { public String getId() { return id; }  String getId(); void setId(String id); String getDescription(); void setDescription(String description); List<ExtensionPoint> getExtensionPoints(); void setExtensionPoints(List<ExtensionPoint> extensionPoints); List<String> getContextModel(); void setContextModel(List<String> contextModel); List<AppTemplateConfigurationOption> getConfigOptions(); void setConfigOptions(List<AppTemplateConfigurationOption> configOptions);  }