@Test
public void testDiagnosticBinding_3() throws Exception {

	final String result = "{\"dependencies\":[]}";
	ObjectMapper mapper = JSonBindingUtils.createObjectMapper();
	Diagnostic diag = new Diagnostic();
	StringWriter writer = new StringWriter();
	mapper.writeValue( writer, diag );
	String s = writer.toString();
	Assert.assertEquals( result, s );
	Diagnostic readDiag = mapper.readValue( "{}", Diagnostic.class );
	Assert.assertEquals( diag.getInstancePath(), readDiag.getInstancePath());
	Assert.assertEquals( diag.getDependenciesInformation(), readDiag.getDependenciesInformation());
}