@Test public void testJSONFile() throws IOException, URISyntaxException { ObjectMapper mapper = new ObjectMapper(); File file = new File(getClass().getResource("/actions/restsymbolactions/CheckStatusTestData.json").toURI()); RESTSymbolAction obj = mapper.readValue(file, RESTSymbolAction.class); assertTrue(obj instanceof CheckStatusAction); CheckStatusAction objAsAction = (CheckStatusAction) obj; assertEquals(Response.Status.OK.getStatusCode(), objAsAction.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);  }