@Test
public void testApplicationBinding_4() throws Exception {

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