ProcessingNode implements ProductReader { public void setUp(final Map config) throws IOException { } protected  ProcessingNode(); Product createTargetProduct(); ProductData getFrameData(final String targetBandName); Band getTargetBand(final String targetBandName); ProductData getFrameData(final Band targetBand); void startProcessing(); void setUp(final Map config); @Override Product readProductNodes(final Object input, final ProductSubsetDef subsetDef); @Override void readBandRasterData(final Band targetBand,
                                   final int frameX,
                                   final int frameY,
                                   final int frameW,
                                   final int frameH,
                                   final ProductData targetData,
                                   ProgressMonitor pm); @Override void close(); @Override ProductReaderPlugIn getReaderPlugIn(); @Override Object getInput(); @Override final ProductSubsetDef getSubsetDef();  }
@Test public void testSetUp() throws IOException { assertNotNull(sourceProduct.getBand("A")); assertNotNull(sourceProduct.getBand("B")); assertNotNull(targetProduct.getBand("U")); assertNotNull(targetProduct.getBand("V")); assertNotNull(targetProduct.getBand("W")); assertSame(sourceProductReader, sourceProduct.getProductReader()); assertSame(targetProcessingNode, targetProduct.getProductReader()); assertNull(targetProcessingNode.getFrameData("U")); assertNull(targetProcessingNode.getFrameData("V")); assertNull(targetProcessingNode.getFrameData("W")); }