DeactivateEncryptionAction extends ConnectionBoundAction { @Override public void reset() { setExecuted(false); setExecuted(null); } DeactivateEncryptionAction(); @Override void execute(State state); @Override void reset(); @Override boolean equals(Object o); @Override int hashCode(); @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()); }