@Test
public void testParseComponenWithNoLead() throws Exception {

	ComponentJsonParser parser = new ComponentJsonParser();
	final Component component = parser.parse(ResourceUtil.getJsonObjectFromResource("/json/component/complete-no-lead-valid.json"));
	assertEquals(new URI("http://localhost:8090/jira/rest/api/latest/component/10001"), component.getSelf());
	assertEquals("Component B", component.getName());
	assertNull(component.getLead());
	assertEquals("another description", component.getDescription());
}