@Test
public void testParse() throws JSONException {

    BasicIssueTypeJsonParser parser = new BasicIssueTypeJsonParser();
    final BasicIssueType issueType = parser.parse(ResourceUtil.getJsonObjectFromResource("/json/issueType/valid.json"));
    assertEquals(new BasicIssueType(toUri("http://localhost:8090/jira/rest/api/latest/issueType/1"), "Bug", true), issueType);
}