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