@Test public void testJSON() throws IOException { String json = mapper.writeValueAsString(checkText); CheckTextWebAction c2 = (CheckTextWebAction) mapper.readValue(json, SymbolAction.class); assertEquals(checkText.getValue(), c2.getValue()); }
public String getValue() { return value; }
CheckTextWebAction extends WebSymbolAction { public String getValue() { return value; } }
CheckTextWebAction extends WebSymbolAction { public String getValue() { return value; } CheckTextWebAction(); }
CheckTextWebAction extends WebSymbolAction { public String getValue() { return value; } CheckTextWebAction(); @Override ExecuteResult execute(WebSiteConnector connector); String getValue(); @JsonIgnore @Transient String getValueWithVariableValues(); void setValue(String value); boolean isRegexp(); void setRegexp(boolean regexp); WebElementLocator getNode(); void setNode(WebElementLocator node); }
CheckTextWebAction extends WebSymbolAction { public String getValue() { return value; } CheckTextWebAction(); @Override ExecuteResult execute(WebSiteConnector connector); String getValue(); @JsonIgnore @Transient String getValueWithVariableValues(); void setValue(String value); boolean isRegexp(); void setRegexp(boolean regexp); WebElementLocator getNode(); void setNode(WebElementLocator node);  }