});
}
@Test
public void testGetProject() throws URISyntaxException {
final Project project = client.getProjectClient().getProject("TST", pm);
assertEquals("TST", project.getKey());
assertEquals(IntegrationTestUtil.USER_ADMIN_LATEST, project.getLead());
assertEquals(2, Iterables.size(project.getVersions()));
assertEquals(2, Iterables.size(project.getComponents()));
final Iterator<IssueType> issueTypesIterator = project.getIssueTypes().iterator();
if (isJira4x4OrNewer()) {
assertTrue(issueTypesIterator.hasNext());
final IssueType it = issueTypesIterator.next();
if (isJira5xOrNewer()) {
assertEquals(Long.valueOf(1), it.getId());