MphChlMerisOp extends MphChlBasisOp { @Override protected void configureSourceSamples(SourceSampleConfigurer sampleConfigurer) throws OperatorException { sampleConfigurer.defineSample(0, "rBRR_06"); sampleConfigurer.defineSample(1, "rBRR_07"); sampleConfigurer.defineSample(2, "rBRR_08"); sampleConfigurer.defineSample(3, "rBRR_09"); sampleConfigurer.defineSample(4, "rBRR_10"); sampleConfigurer.defineSample(5, "rBRR_14"); }    }
@Test public void testConfigureSourceSample() { final TestSourceSampleConfigurer sampleConfigurer = new TestSourceSampleConfigurer(); MphChlMerisOp mphChlOp = new MphChlMerisOp(); mphChlOp.configureSourceSamples(sampleConfigurer); final HashMap<Integer, String> sampleMap = sampleConfigurer.getSampleMap(); assertEquals("rBRR_06", sampleMap.get(0)); assertEquals("rBRR_07", sampleMap.get(1)); assertEquals("rBRR_08", sampleMap.get(2)); assertEquals("rBRR_09", sampleMap.get(3)); assertEquals("rBRR_10", sampleMap.get(4)); assertEquals("rBRR_14", sampleMap.get(5)); }