CopyContextFieldAction extends TlsAction { @Override public void assertAliasesSetProperly() throws ConfigurationException { if ((srcConnectionAlias == null) || (srcConnectionAlias.isEmpty())) { throw new WorkflowExecutionException("Can't execute " + this.getClass().getSimpleName() + " with empty src alias (if using XML: add <from/>)"); } if ((dstConnectionAlias == null) || (dstConnectionAlias.isEmpty())) { throw new WorkflowExecutionException("Can't execute " + this.getClass().getSimpleName() + " with empty dst alias (if using XML: add <to/>)"); } } CopyContextFieldAction();  CopyContextFieldAction(String srcConnectionAlias, String dstConnectionAlias); @Override void execute(State state); String getSrcContextAlias(); String getDstContextAlias(); @Override void reset(); @Override int hashCode(); @Override boolean equals(Object obj); @Override Set<String> getAllAliases(); @Override void assertAliasesSetProperly();  }
@Test public void testAssertAliasesSetProperly() { }