ListKlvProcessor implements KlvProcessor { @Override public void process( Map<String, KlvHandler> handlers, Metacard metacard, Configuration configuration) { klvProcessorList.forEach( klvProcessor -> klvProcessor.process(handlers, metacard, configuration)); } ListKlvProcessor(List<KlvProcessor> klvProcessorList); @Override void process(
      Map<String, KlvHandler> handlers, Metacard metacard, Configuration configuration); @Override void accept(Visitor visitor);  }
@Test public void testProcess() { Map<String, KlvHandler> handlers = Collections.emptyMap(); Metacard metacard = mock(MetacardImpl.class); KlvProcessor.Configuration configuration = new KlvProcessor.Configuration(); listKlvProcessor.process(handlers, metacard, configuration); verify(childKlvProcessor).process(handlers, metacard, configuration); }