### Question:
LogSink extends NamedSink { @Override public void processRow(Row entries) { if (entries == null || entries.isEmpty()) { LOG.info("Empty list"); return; } String row = entries.getColumnsAsString(). values(). stream(). reduce((String t, String u) -> t + "," + u).get(); LOG.info(row); } LogSink(String name);  LogSink(); @Override void processRow(Row entries); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void logEmptyList() { this.cut.processRow(new Row()); }
@Test public void logNullList() { this.cut.processRow(null); }