FileExportProducer { @Produces public ImageFileExport forImage() { return new ImageFileExport(); } protected  FileExportProducer(); @Inject  FileExportProducer(final FileExportScriptInjector fsScriptInjector); @PostConstruct void init(); @Produces TextFileExport forText(); @Produces PdfFileExport forPDF(); @Produces ImageFileExport forImage(); @Produces SvgFileExport forSvg();  }
@Test public void produceImageFileSaver() { ImageFileExport imageFileSaver = fs.forImage(); assertNotNull(imageFileSaver); }