imageInfo, new ImageFlavor[] {targetFlavor});
assertEquals(1, candidates.length);
//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