addMigrationMock(planGenerator);
WorkflowDescription wf = mockQa("QA component");
when(wf.acceptsMimetypes("image/jp2", "image/tiff")).thenReturn(true);
when(wf.acceptsMimetypes("image/tiff", "image/jp2")).thenReturn(true);
when(wf.acceptsLeftMimetype("image/jp2")).thenReturn(true);
when(wf.acceptsLeftMimetype("image/tiff")).thenReturn(true);
when(wf.acceptsRightMimetype("image/jp2")).thenReturn(true);
when(wf.acceptsRightMimetype("image/tiff")).thenReturn(true);
planGenerator.addQaComponent(wf, generateQaContent(QA_DATAFLOW_ID, "QA component"), DEFAULT_PARAMETERS,
DEFAULT_MEASURES);