ChangeProtocolVersionAction extends ConnectionBoundAction { @Override public void reset() { oldValue = null; setExecuted(null); } ChangeProtocolVersionAction(ProtocolVersion newValue);  ChangeProtocolVersionAction(); void setNewValue(ProtocolVersion newValue); ProtocolVersion getNewValue(); ProtocolVersion getOldValue(); @Override void execute(State state); @Override void reset(); @Override int hashCode(); @Override boolean equals(Object obj); @Override boolean executedAsPlanned();  }
@Test public void testReset() { assertFalse(action.isExecuted()); action.execute(state); assertTrue(action.isExecuted()); action.reset(); assertFalse(action.isExecuted()); action.execute(state); assertTrue(action.isExecuted()); }