### Question:
AisNmeaMessage { public static AisNmeaMessage from(String line) { return new AisNmeaMessage(line); } 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 testShipStaticDataFail() { String line = "\\s:DAMPIER,c:1495795358,T:2017-05-26 10.42.38*1D\\!ABVDM,2,1,3,B,57PK@>423P<iHP<F220=<j1LQT4hh62222222216>0M<<4t20>@hD1H4,0*13"; AisNmeaMessage m = AisNmeaMessage.from(line); }
@Test(expected=AisParseException.class) public void testParseNothingAfterTagBlock() { String line ="\\1G2:2,s:Coquet Island,c:1545039426,seq:40829*31\\"; AisNmeaMessage.from(line); }