@Test
public void testComponentBinding_2() throws Exception {

	final String result = "{}";
	ObjectMapper mapper = JSonBindingUtils.createObjectMapper();
	Component comp = new Component();
	StringWriter writer = new StringWriter();
	mapper.writeValue( writer, comp );
	String s = writer.toString();
	Assert.assertEquals( result, s );
	Component readComp = mapper.readValue( result, Component.class );
	Assert.assertEquals( comp, readComp );
	Assert.assertEquals( comp.getName(), readComp.getName());
	Assert.assertEquals( comp.getInstallerName(), readComp.getInstallerName());
}