@Test public void testProcessFromB() throws Exception { BatchExcelRow excelRow = processor.process(fromB); Assert.assertEquals(new Station("stationA"), excelRow.getDepartureStation()); Assert.assertEquals(new Station("stationB"), excelRow.getArrivalStation()); Assert.assertEquals(20, excelRow.getDelay().longValue()); }
@Override public BatchExcelRow process(final LineStop item) throws Exception { BatchExcelRow result; LOGGER.trace("item", item); result = extractSens(item, stationAName, stationBName); LOGGER.trace("result", result); return result; }
BatchExcelRowMapperProcessor implements ItemProcessor<LineStop, BatchExcelRow>, InitializingBean { @Override public BatchExcelRow process(final LineStop item) throws Exception { BatchExcelRow result; LOGGER.trace("item", item); result = extractSens(item, stationAName, stationBName); LOGGER.trace("result", result); return result; } }
BatchExcelRowMapperProcessor implements ItemProcessor<LineStop, BatchExcelRow>, InitializingBean { @Override public BatchExcelRow process(final LineStop item) throws Exception { BatchExcelRow result; LOGGER.trace("item", item); result = extractSens(item, stationAName, stationBName); LOGGER.trace("result", result); return result; }  }
BatchExcelRowMapperProcessor implements ItemProcessor<LineStop, BatchExcelRow>, InitializingBean { @Override public BatchExcelRow process(final LineStop item) throws Exception { BatchExcelRow result; LOGGER.trace("item", item); result = extractSens(item, stationAName, stationBName); LOGGER.trace("result", result); return result; }  @Override void afterPropertiesSet(); @Override BatchExcelRow process(final LineStop item); void setStationAName(String stationAName); void setStationBName(String stationBName); void setLanguage(String language); }
BatchExcelRowMapperProcessor implements ItemProcessor<LineStop, BatchExcelRow>, InitializingBean { @Override public BatchExcelRow process(final LineStop item) throws Exception { BatchExcelRow result; LOGGER.trace("item", item); result = extractSens(item, stationAName, stationBName); LOGGER.trace("result", result); return result; }  @Override void afterPropertiesSet(); @Override BatchExcelRow process(final LineStop item); void setStationAName(String stationAName); void setStationBName(String stationBName); void setLanguage(String language);  }