.toInstant());
Assert.assertEquals("Test Project", project.getName());
final OptionalIterable<IssueType> issueTypes = project.getIssueTypes();
Assert.assertTrue(issueTypes.isSupported());
Assert.assertThat(issueTypes, IsIterableContainingInAnyOrder.containsInAnyOrder(
new IssueType(TestUtil
.toUri("http://localhost:2990/jira/rest/api/latest/issuetype/1"), 1L, "Bug", false, "A problem which impairs or prevents the functions of the product.", TestUtil
.toUri("http://localhost:2990/jira/images/icons/bug.gif")),
new IssueType(TestUtil
.toUri("http://localhost:2990/jira/rest/api/latest/issuetype/2"), 2L, "New Feature", false, "A new feature of the product, which has yet to be developed.", TestUtil
.toUri("http://localhost:2990/jira/images/icons/newfeature.gif")),
new IssueType(TestUtil
.toUri("http://localhost:2990/jira/rest/api/latest/issuetype/3"), 3L, "Task", false, "A task that needs to be done.", TestUtil
.toUri("http://localhost:2990/jira/images/icons/task.gif")),
new IssueType(TestUtil
.toUri("http://localhost:2990/jira/rest/api/latest/issuetype/4"), 4L, "Improvement", false, "An improvement or enhancement to an existing feature or task.", TestUtil
.toUri("http://localhost:2990/jira/images/icons/improvement.gif")),
new IssueType(TestUtil
.toUri("http://localhost:2990/jira/rest/api/latest/issuetype/5"), 5L, "Sub-task", true, "The sub-task of the issue", TestUtil
.toUri("http://localhost:2990/jira/images/icons/issue_subtask.gif"))
));
}