@Test
public void testParseProjectWithBasicRoles() throws JSONException, URISyntaxException {
final Project project = parser.parse(ResourceUtil.getJsonObjectFromResource("/json/project/project-jira-5-0.json"));
final Iterable<BasicProjectRole> projectRoles = project.getProjectRoles();
assertThat(projectRoles, containsInAnyOrder(
new BasicProjectRole(TestUtil.toUri("http://localhost:2990/jira/rest/api/latest/project/TST/role/10000"), "Users"),
new BasicProjectRole(TestUtil.toUri("http://localhost:2990/jira/rest/api/latest/project/TST/role/10001"), "Developers"),
new BasicProjectRole(TestUtil.toUri("http://localhost:2990/jira/rest/api/latest/project/TST/role/10002"), "Administrators")
));
}