### Question:
TaskLogger implements CliLogger { @Override public void newLine() { this.writeLine(""); } TaskLogger(Path logFile); @Override void enableSendStompMessage(Integer taskId, SimpMessagingTemplate messagingTemplate, String destinationPrefix); @Override void error(Throwable e); @Override void error(String pattern, Object... arguments); @Override void info(String pattern, Object... arguments); @Override void newLine(); @Override void log(String pattern, Object... arguments); @Override void log(String content); @Override void finished(ReleaseResult releaseResult);  }### Answer:
@Test public void newLine() throws IOException { CliLogger logger = new TaskLogger(logFile); logger.newLine(); String content = Files.readString(logFile); assertThat(content).isEqualTo(System.lineSeparator()); }