ChangeProtocolVersionAction extends ConnectionBoundAction { public ProtocolVersion getOldValue() { return oldValue; } 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 testGetOldValue() { tlsContext.setSelectedProtocolVersion(ProtocolVersion.TLS12); action.execute(state); assertEquals(action.getOldValue(), ProtocolVersion.TLS12); }