@Test public void testJSON() throws IOException { ObjectMapper mapper = new ObjectMapper(); String json = mapper.writeValueAsString(c); CheckStatusAction c2 = mapper.readValue(json, CheckStatusAction.class); assertEquals(c.getStatus(), c2.getStatus()); }
public int getStatus() { return status; }
CheckStatusAction extends RESTSymbolAction { public int getStatus() { return status; } }
CheckStatusAction extends RESTSymbolAction { public int getStatus() { return status; }  }
CheckStatusAction extends RESTSymbolAction { public int getStatus() { return status; }  @Override ExecuteResult execute(WebServiceConnector target); int getStatus(); void setStatus(int status); }
CheckStatusAction extends RESTSymbolAction { public int getStatus() { return status; }  @Override ExecuteResult execute(WebServiceConnector target); int getStatus(); void setStatus(int status);  }