@Test
public void testConfigKeyTargetFlavorDefaultValue() {

  WorkflowInstanceImpl instance = new WorkflowInstanceImpl();
  List<WorkflowOperationInstance> ops = new ArrayList<WorkflowOperationInstance>();
  WorkflowOperationInstanceImpl operation = new WorkflowOperationInstanceImpl("test", OperationState.INSTANTIATED);
  ops.add(operation);
  instance.setOperations(ops);
  instance.setMediaPackage(mp);
  operation.setConfiguration(ZipWorkflowOperationHandler.ZIP_COLLECTION_PROPERTY, "failed-zips");
  operation.setConfiguration(ZipWorkflowOperationHandler.INCLUDE_FLAVORS_PROPERTY, "*/source,dublincore/*");
  // targe-flavor is not mandatory
  // operation.setConfiguration(ZipWorkflowOperationHandler.TARGET_FLAVOR_PROPERTY, "archive/zip");
  operation.setConfiguration(ZipWorkflowOperationHandler.COMPRESS_PROPERTY, "false");
  try {
      WorkflowOperationResult result = operationHandler.start(instance, null);
      Assert.assertEquals("workflow result action not CONTINUE: " + result.getAction(), WorkflowOperationResult.Action.CONTINUE, result.getAction());
  } catch (WorkflowOperationException e) {
      Assert.fail("missing target-flavor and no default value kicked in: " + e);
  }
}