@Test
public void testDiagnosticBinding_1() throws Exception {

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