@Test public void testJSON() throws IOException { ObjectMapper mapper = new ObjectMapper(); String json = mapper.writeValueAsString(w); WaitAction w2 = mapper.readValue(json, WaitAction.class); assertEquals(w.getDuration(), w2.getDuration()); }
public Long getDuration() { return duration; }
WaitAction extends SymbolAction { public Long getDuration() { return duration; } }
WaitAction extends SymbolAction { public Long getDuration() { return duration; }  }
WaitAction extends SymbolAction { public Long getDuration() { return duration; }  @Override ExecuteResult execute(ConnectorManager connector); Long getDuration(); void setDuration(Long duration); }
WaitAction extends SymbolAction { public Long getDuration() { return duration; }  @Override ExecuteResult execute(ConnectorManager connector); Long getDuration(); void setDuration(Long duration);  }