@Test
public void testApplicationTemplateBinding_6() throws Exception {

	ApplicationTemplate app = new ApplicationTemplate( "my application" );
	app.externalExports.put( "k1", "v1" );
	app.externalExports.put( "k2", "v2" );
	ObjectMapper mapper = JSonBindingUtils.createObjectMapper();
	StringWriter writer = new StringWriter();
	mapper.writeValue( writer, app );
	String s = writer.toString();
	Assert.assertEquals( "{\"name\":\"my application\",\"displayName\":\"my application\",\"extVars\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"apps\":[]}", s );
}