@Test
public void parseMessageForTagAndLogLevel() {

  String message = "2018-02-12 17:04:44.005   1282-12/com.google.android.apps" +
                   ".maps:GoogleLocationService D/dalvikvm: Debugger has detached; object " +
                   "registry had 1 entries";
  LogCatHeader header = myFormatter.parseMessage(message).getHeader();
  assertEquals(LogLevel.DEBUG, header.getLogLevel());
  assertEquals("dalvikvm", header.getTag());
}