.getResourceAsString("redmine_issue_statuses.json");
List<IssueStatus> statuses = JsonInput.getListOrEmpty(
RedmineJSONParser.getResponse(str), "statuses",
RedmineJSONParser.STATUS_PARSER);
assertEquals(6, statuses.size());
IssueStatus status5 = statuses.get(4);
assertEquals(new Integer(5), status5.getId());
assertEquals("Closed", status5.getName());
assertEquals(false, status5.isDefaultStatus());
assertEquals(true, status5.isClosed());
} catch (Exception e) {
e.printStackTrace();
fail("Error:" + e);
}