@Test
public void testParse() throws Exception {

	final Project project = parser.parse(ResourceUtil.getJsonObjectFromResource("/json/project/valid.json"));
	assertEquals(TestUtil.toUri("http://localhost:8090/jira/rest/api/latest/project/TST"), project.getSelf());
	assertEquals("This is my description here.\r\nAnother line.", project.getDescription());
	assertEquals(TestConstants.USER_ADMIN, project.getLead());
	assertEquals("http://example.com", project.getUri().toString());
	assertEquals("TST", project.getKey());
	assertThat(project.getVersions(), hasOnlyElements(TestConstants.VERSION_1, TestConstants.VERSION_1_1));
	assertThat(project.getComponents(), hasOnlyElements(TestConstants.BCOMPONENT_A, TestConstants.BCOMPONENT_B));
       assertNull(project.getName());
}