when(metadata.readMetadata(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
BatchProcessor batch = mock(BatchProcessor.class);
when(batch.executeBatch(any(BatchHandler.class), anyString(), any(InputStream.class))).thenAnswer(getAnswer());
FunctionImportProcessor functionImport = mock(FunctionImportProcessor.class);
when(functionImport.executeFunctionImport(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
FunctionImportValueProcessor functionImportValue = mock(FunctionImportValueProcessor.class);
when(functionImportValue.executeFunctionImportValue(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
EntityMediaProcessor entityMedia = mock(EntityMediaProcessor.class);