DynamicWorkflowDelegate extends Delegate { public void setDynamicWorkflow(boolean dynamicWorkflow) { throw new UnsupportedOperationException("DynamicWorkflow is currently not supported."); } DynamicWorkflowDelegate(); Boolean isDynamicWorkflow(); void setDynamicWorkflow(boolean dynamicWorkflow); @Override void applyDelegate(Config config);  }
@Test(expected = UnsupportedOperationException.class) public void testSetDynamicWorkflow() { assertTrue(delegate.isDynamicWorkflow() == null); delegate.setDynamicWorkflow(true); assertTrue(delegate.isDynamicWorkflow()); }