//Now add another implementation that poses as TIFF loader
imageContext.getImageManager().getRegistry().registerLoaderFactory(
new MockImageLoaderFactoryTIFF());
candidates = pFactory.determineCandidatePipelines(
imageInfo, targetFlavor);
assertEquals(3, candidates.length);
//3 because the mock impl provides Buffered- and RenderedImage capabilities
pipeline = pFactory.newImageConverterPipeline(imageInfo, targetFlavor);