* @return a mock of the QA component
*/
private WorkflowDescription mockQaAny(String name) {
WorkflowDescription wf = mockQa(name);
when(wf.acceptsMimetypes(any(String.class), any(String.class))).thenReturn(true);
when(wf.acceptsLeftMimetype(any(String.class))).thenReturn(true);
when(wf.acceptsRightMimetype(any(String.class))).thenReturn(true);
when(wf.handlesMimetype(any(String.class))).thenReturn(true);
return wf;
}