@Test void testNotMatchingLineIsNotChanged() { CobolLine normalLine = new CobolLine(); normalLine.setSequenceArea(BLANK_SEQUENCE_AREA); normalLine.setIndicatorArea(WS); normalLine.setContentAreaA("MOVE"); normalLine.setContentAreaB(" A TO B"); CobolInlineCommentEntriesNormalizerImpl normalizer = new CobolInlineCommentEntriesNormalizerImpl(); List<CobolLine> actual = normalizer.processLines(singletonList(normalLine)); assertFalse(actual.isEmpty()); assertEquals(normalLine, actual.get(0)); }
@Override @Nonnull public List<CobolLine> processLines(@Nonnull List<CobolLine> lines) { return lines.stream().map(this::normalizeLine).collect(toList()); }
CobolInlineCommentEntriesNormalizerImpl implements CobolLineReWriter { @Override @Nonnull public List<CobolLine> processLines(@Nonnull List<CobolLine> lines) { return lines.stream().map(this::normalizeLine).collect(toList()); } }
CobolInlineCommentEntriesNormalizerImpl implements CobolLineReWriter { @Override @Nonnull public List<CobolLine> processLines(@Nonnull List<CobolLine> lines) { return lines.stream().map(this::normalizeLine).collect(toList()); }  }
CobolInlineCommentEntriesNormalizerImpl implements CobolLineReWriter { @Override @Nonnull public List<CobolLine> processLines(@Nonnull List<CobolLine> lines) { return lines.stream().map(this::normalizeLine).collect(toList()); }  @Override @Nonnull List<CobolLine> processLines(@Nonnull List<CobolLine> lines); }
CobolInlineCommentEntriesNormalizerImpl implements CobolLineReWriter { @Override @Nonnull public List<CobolLine> processLines(@Nonnull List<CobolLine> lines) { return lines.stream().map(this::normalizeLine).collect(toList()); }  @Override @Nonnull List<CobolLine> processLines(@Nonnull List<CobolLine> lines);  }