### Question:
RestfulResponse { public int getRespHeaderInt(String key) { if (this.respHeaderMap != null) { String result = this.respHeaderMap.get(key); if (result != null) { return Integer.parseInt(result); } } return -1; } RestfulResponse(); int getStatus(); void setStatus(int status); Map<String, String> getRespHeaderMap(); void setRespHeaderMap(Map<String, String> header); int getRespHeaderInt(String key); long getRespHeaderLong(String key); String getRespHeaderStr(String key); String getResponseContent(); void setResponseContent(String responseString);  }### Answer:
@Test public void getRespHeaderInt() throws Exception { restfulResponse.getRespHeaderInt("1"); }