PrintLastHandledApplicationDataAction extends ConnectionBoundAction { @Override public void reset() { setExecuted(false); lastHandledApplicationData = null; } PrintLastHandledApplicationDataAction();  PrintLastHandledApplicationDataAction(String connectionAlias); @Override void execute(State state); String getLastHandledApplicationData(); void setLastHandledApplicationData(String lastHandledApplicationData); String getStringEncoding(); void setStringEncoding(String stringEncoding); @Override boolean executedAsPlanned(); @Override void reset(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testReset() throws IOException { assertFalse(action.isExecuted()); action.execute(state); assertTrue(action.isExecuted()); action.reset(); assertFalse(action.isExecuted()); action.execute(state); assertTrue(action.isExecuted()); }