@Test
public void testApplicationTemplateBinding_4() throws Exception {

	final String result = "{\"name\":\"my application\",\"displayName\":\"my application\",\"apps\":[]}";
	ObjectMapper mapper = JSonBindingUtils.createObjectMapper();
	ApplicationTemplate app = new ApplicationTemplate( "my application" );
	StringWriter writer = new StringWriter();
	mapper.writeValue( writer, app );
	String s = writer.toString();
	Assert.assertEquals( result, s );
	ApplicationTemplate readApp = mapper.readValue( result, ApplicationTemplate.class );
	Assert.assertEquals( app, readApp );
	Assert.assertEquals( app.getName(), readApp.getName());
	Assert.assertEquals( app.getDescription(), readApp.getDescription());
	Assert.assertEquals( app.getVersion(), readApp.getVersion());
	Assert.assertEquals( app.getExternalExportsPrefix(), readApp.getExternalExportsPrefix());
	Assert.assertEquals( app.getTags(), readApp.getTags());
}