IssueType extends Resource { @Override public String toString() { return getName(); } protected  IssueType(RestClient restclient, JSONObject json); static IssueType get(RestClient restclient, String id); @Override String toString(); String getDescription(); String getName(); String getIconUrl(); boolean isSubtask(); JSONObject getFields();  }
@Test public void testIssueTypeToString(){ IssueType issueType = new IssueType(null, getTestJSON()); assertEquals(issueType.toString(),"Story"); }