WorkflowTypeDelegate extends Delegate { public void setWorkflowTraceType(WorkflowTraceType workflowTraceType) { this.workflowTraceType = workflowTraceType; } WorkflowTypeDelegate(); WorkflowTraceType getWorkflowTraceType(); void setWorkflowTraceType(WorkflowTraceType workflowTraceType); @Override void applyDelegate(Config config);  }
@Test public void testSetWorkflowTraceType() { assertFalse(WorkflowTraceType.HANDSHAKE.equals(delegate.getWorkflowTraceType())); delegate.setWorkflowTraceType(WorkflowTraceType.HANDSHAKE); assertTrue(delegate.getWorkflowTraceType().equals(WorkflowTraceType.HANDSHAKE)); }