@Test void addCellProcessor_data() { CellProcessor processor = when(mock(CellProcessor.class).processData()).thenReturn(true).getMock(); excelSheetReader.addCellProcessor(processor); for (Entity entity : excelSheetReader) entity.get("col2"); verify(processor).process("val2"); verify(processor).process("val4"); verify(processor).process("val6"); }
public void addCellProcessor(CellProcessor cellProcessor) { if (cellProcessors == null) cellProcessors = new ArrayList<>(); cellProcessors.add(cellProcessor); }
ExcelRepository extends AbstractRepository { public void addCellProcessor(CellProcessor cellProcessor) { if (cellProcessors == null) cellProcessors = new ArrayList<>(); cellProcessors.add(cellProcessor); } }
ExcelRepository extends AbstractRepository { public void addCellProcessor(CellProcessor cellProcessor) { if (cellProcessors == null) cellProcessors = new ArrayList<>(); cellProcessors.add(cellProcessor); } ExcelRepository(
      Sheet sheet, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory);  ExcelRepository(
      Sheet sheet,
      EntityTypeFactory entityTypeFactory,
      AttributeFactory attrMetaFactory,
      List<CellProcessor> cellProcessors); }
ExcelRepository extends AbstractRepository { public void addCellProcessor(CellProcessor cellProcessor) { if (cellProcessors == null) cellProcessors = new ArrayList<>(); cellProcessors.add(cellProcessor); } ExcelRepository(
      Sheet sheet, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory);  ExcelRepository(
      Sheet sheet,
      EntityTypeFactory entityTypeFactory,
      AttributeFactory attrMetaFactory,
      List<CellProcessor> cellProcessors); int getNrRows(); @Override Iterator<Entity> iterator(); void addCellProcessor(CellProcessor cellProcessor); EntityType getEntityType(); @Override Set<RepositoryCapability> getCapabilities(); @Override long count(); }
ExcelRepository extends AbstractRepository { public void addCellProcessor(CellProcessor cellProcessor) { if (cellProcessors == null) cellProcessors = new ArrayList<>(); cellProcessors.add(cellProcessor); } ExcelRepository(
      Sheet sheet, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory);  ExcelRepository(
      Sheet sheet,
      EntityTypeFactory entityTypeFactory,
      AttributeFactory attrMetaFactory,
      List<CellProcessor> cellProcessors); int getNrRows(); @Override Iterator<Entity> iterator(); void addCellProcessor(CellProcessor cellProcessor); EntityType getEntityType(); @Override Set<RepositoryCapability> getCapabilities(); @Override long count();  }