List<Port> outputPorts = new ArrayList<Port>(1);
outputPorts.add(new Port("target", "Description", ComponentConstants.VALUE_TARGET_OBJECT));
when(wf.getOutputPorts()).thenReturn(outputPorts);
List<MigrationPath> migrationPaths = new ArrayList<MigrationPath>(1);
migrationPaths.add(new MigrationPath("image/tiff", "image/jp2"));
when(wf.getMigrationPaths()).thenReturn(migrationPaths);
planGenerator.setMigrationComponent(wf, generateMigrationContent(MIGRATION_DATAFLOW_ID, "Migration component"),
new HashMap<String, String>(0));
}