@Test
public void testApplicationBinding_5() throws Exception {

	Application app = new Application( "test", null ).description( "hi!" );
	app.getRootInstances().add( new Instance( "r" ).status( InstanceStatus.DEPLOYED_STARTED ));
	ObjectMapper mapper = JSonBindingUtils.createObjectMapper();
	StringWriter writer = new StringWriter();
	mapper.writeValue( writer, app );
	Assert.assertEquals( "{\"name\":\"test\",\"displayName\":\"test\",\"desc\":\"hi!\",\"info\":\"ok\"}", writer.toString());
}