### Question:
AisNmeaMessage { public AisNmeaMessage(String line) { this(NmeaUtil.parseNmea(validateLine(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 testAisNmeaMessage() { String m = "$BSVDM,2,2,5,B,00000000008,2*33"; AisNmeaMessage a = new AisNmeaMessage(m); assertEquals("B", a.getChannel()); assertEquals("$BSVDM", a.getFormat()); assertEquals(2, a.getFragmentCount()); assertEquals(2, a.getFragmentNumber()); assertEquals("5", a.getSequentialMessageId()); assertEquals("33", a.getChecksum()); assertEquals(Talker.UNKNOWN, a.getTalker()); assertNotNull(a.getNmea()); a.getMessage(); }