RemBufferedChExtensionsAction extends ConnectionBoundAction { @Override public void execute(State state) throws WorkflowExecutionException { TlsContext ctx = state.getTlsContext(connectionAlias); ClientHelloMessage ch = (ClientHelloMessage) ctx.getMessageBuffer().getFirst(); removeExtensions(ctx, ch); setExecuted(true); } RemBufferedChExtensionsAction();  RemBufferedChExtensionsAction(String alias);  RemBufferedChExtensionsAction(List<ExtensionType> removeExtensions);  RemBufferedChExtensionsAction(ExtensionType... removeExtensions);  RemBufferedChExtensionsAction(String alias, List<ExtensionType> removeExtensions);  RemBufferedChExtensionsAction(String alias, ExtensionType... removeExtensions); @Override void execute(State state); @Override boolean executedAsPlanned(); @Override void reset(); List<ExtensionType> getRemoveExtensions(); void setRemoveExtensions(List<ExtensionType> removeExtensions); void setRemoveExtensions(ExtensionType... removeExtensions); String summarizeExtensions(ClientHelloMessage ch); @Override void normalize(); @Override void normalize(TlsAction defaultAction); @Override void filter(); @Override void filter(TlsAction defaultAction); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void removingNothingIsOk() { action.execute(state); actual = typesFromMessageList(ch.getExtensions()); action.execute(state); assertTrue(action.isExecuted()); compareList(); compareFields(); }