@Test
public void testApplicationBinding_10() throws Exception {

	TestApplication app = new TestApplication();
	ImportedVariable var1 = new ImportedVariable( "something.else", true, true );
	ImportedVariable var2 = new ImportedVariable( "other.stuff", true, true );
	app.getWar().getComponent().importedVariables.put( var1.getName(),  var1 );
	app.getWar().getComponent().importedVariables.put( var2.getName(),  var2 );
	ObjectMapper mapper = JSonBindingUtils.createObjectMapper();
	StringWriter writer = new StringWriter();
	mapper.writeValue( writer, app );
	String s = writer.toString();
	Assert.assertEquals(
			"{\"name\":\"" + app.getName()
					+ "\",\"displayName\":\""
					+ app.getName()
					+ "\",\"tplName\":\""
					+ app.getTemplate().getName()
					+ "\",\"tplVersion\":\""
					+ app.getTemplate().getVersion()
					+ "\",\"extDep\":[\"other\",\"something\"]}",
			s );
}