@Test
public void processNewLineHandlesMultilineLogs() {

  myReceiver.processNewLine("[ 1516739696.789 99:99 V/UnknownClient     ]");
  myReceiver.processNewLine("Line 1");
  myReceiver.processNewLine("Line 2");
  myReceiver.processNewLine("Line 3");
  myReceiver.processNewLine("");
  myReceiver.processNewLine("[ 1516741200.000 99:99 V/UnknownClient     ]");
  myReceiver.processNewLine("Line 1");
  String expected = "2018-01-23 12:34:56.789 99-99/? V/UnknownClient: Line 1\n" +
                    "+ Line 2\n" +
                    "+ Line 3\n" +
                    "2018-01-23 13:00:00.000 99-99/? V/UnknownClient: Line 1\n";
  assertThat(myLogcatListener.toString()).isEqualTo(expected);
}