ResetConnectionAction extends ConnectionBoundAction { @Override public void reset() { setExecuted(false); asPlanned = null; } ResetConnectionAction();  ResetConnectionAction(String connectionAlias); @Override void execute(State state); @Override void reset(); @Override boolean executedAsPlanned();  }
@Test public void testReset() throws IOException { action.execute(state); assertTrue(action.isExecuted()); action.reset(); assertFalse(action.isExecuted()); }