### Question:
AisNmeaMessage { public Long getTime() { return nmea.getUnixTimeMillis(); } AisNmeaMessage(String line);  AisNmeaMessage(NmeaMessage nmea); static AisNmeaMessage from(String line); Long getTime(); Talker getTalker(); String getFormat(); int getFragmentCount(); int getFragmentNumber(); String getSequentialMessageId(); String getChannel(); int getPadBits(); AisMessage getMessage(); Timestamped<AisMessage> getTimestampedMessage(long defaultTime); Timestamped<AisMessage> getTimestampedMessage(); String getChecksum(); NmeaMessage getNmea();  }### Answer:
@Test public void testGetTimeObtainsTimeFromTagBlock() { String line = "\\g:1-2-1234,s:r3669961,c:1120959341*51\\$BSVDM,2,2,5,B,00000000008,2*33"; AisNmeaMessage m = new AisNmeaMessage(line); assertEquals(1120959341000L, (long) m.getTime()); }