WorkflowTypeDelegate extends Delegate { public WorkflowTraceType getWorkflowTraceType() { return workflowTraceType; } WorkflowTypeDelegate(); WorkflowTraceType getWorkflowTraceType(); void setWorkflowTraceType(WorkflowTraceType workflowTraceType); @Override void applyDelegate(Config config);  }
@Test public void testGetWorkflowTraceType() { args = new String[2]; args[0] = "-workflow_trace_type"; args[1] = "HANDSHAKE"; assertFalse(WorkflowTraceType.HANDSHAKE.equals(delegate.getWorkflowTraceType())); jcommander.parse(args); assertTrue(delegate.getWorkflowTraceType().equals(WorkflowTraceType.HANDSHAKE)); }